From a5fc5c0e595530650059dd6ab821927933f0ef58 Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Sun, 13 Oct 2024 08:38:30 -0500 Subject: [PATCH] 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 02efd45..ac43881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # --mount=type=bind,source=uv.lock,target=uv.lock \ # --mount=type=bind,source=pyproject.toml,target=pyproject.toml \ uv sync --frozen --no-install-project --no-dev -ADD . /app +COPY . /app RUN --mount=type=cache,target=/root/.cache/uv \ uv sync --frozen --no-dev