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
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