Skip to content

Commit a5fc5c0

Browse files
committed
Switch from ADD to COPY in Dockerfile
This change updates the Dockerfile to use the COPY instruction instead of ADD. COPY is preferred when only copying files because it is more explicit and simpler.
1 parent d4cb8f2 commit a5fc5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
1111
# --mount=type=bind,source=uv.lock,target=uv.lock \
1212
# --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
1313
uv sync --frozen --no-install-project --no-dev
14-
ADD . /app
14+
COPY . /app
1515
RUN --mount=type=cache,target=/root/.cache/uv \
1616
uv sync --frozen --no-dev
1717

0 commit comments

Comments
 (0)