From 2142c004aa46979ff463e21adcf7d9aa84cb6d5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=27=C3=A9lectron=20rare?= <108685187+electron-rare@users.noreply.github.com> Date: Fri, 27 Mar 2026 08:33:57 +0100 Subject: [PATCH] fix: Dockerfile COPY order for hatch build Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index b8acc0b..1d5da4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,14 +5,12 @@ WORKDIR /app # Install uv for fast dependency management RUN pip install --no-cache-dir uv -# Copy dependency definition first (cache layer) -COPY pyproject.toml . +# Copy source +COPY pyproject.toml kill_life/ ./ +COPY kill_life/ ./kill_life/ # Install dependencies -RUN uv pip install --system -e "." - -# Copy source -COPY . . +RUN uv pip install --system . EXPOSE 8200