otterDeveloper
otterDeveloper
TTCTheo's Typesafe Cult
Created by otterDeveloper on 2/28/2025 in #questions
Question about behavior of COPY in Dockerfile. An AI is gaslighting me, unsure which
In a Dockerfile does A:
COPY --from=deps /app/node_modules/ws ./node_modules/ws
COPY --from=deps /app/node_modules/ws ./node_modules/ws
produces the same behavior as this B:
COPY --from=deps /app/node_modules/ws ./node_modules/
COPY --from=deps /app/node_modules/ws ./node_modules/
??? Both Gpt4-o and Gemini insist they are equivalent, Claude 3.7 disagrees From the docs https://docs.docker.com/reference/dockerfile/#destination-1
Trailing slashes are significant. For example, COPY test.txt /abs creates a file at /abs, whereas COPY test.txt /abs/ creates /abs/test.txt.
I believe A and B are equivalent, but just wanted to fact check. I'm confused now.
2 replies
TTCTheo's Typesafe Cult
Created by otterDeveloper on 10/12/2023 in #questions
Any color picker vscode Extension with support for shadcn-ui css variables?
No description
1 replies