fix: Dockerfile COPY order for hatch build

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
L'électron rare
2026-03-27 08:33:57 +01:00
parent bd88bbc96a
commit 2142c004aa
+4 -6
View File
@@ -5,14 +5,12 @@ WORKDIR /app
# Install uv for fast dependency management # Install uv for fast dependency management
RUN pip install --no-cache-dir uv RUN pip install --no-cache-dir uv
# Copy dependency definition first (cache layer) # Copy source
COPY pyproject.toml . COPY pyproject.toml kill_life/ ./
COPY kill_life/ ./kill_life/
# Install dependencies # Install dependencies
RUN uv pip install --system -e "." RUN uv pip install --system .
# Copy source
COPY . .
EXPOSE 8200 EXPOSE 8200