From 1e8d484389ab3247a768a492ba203a2756a23c11 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 24 Dec 2025 21:42:24 +0000 Subject: [PATCH] fix: copy src directory before pip install Dockerfile was failing because we tried to install in editable mode before copying the src directory. Copy src/ first so that uv can find the package structure properly. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 99764d5..cb8622c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,11 @@ RUN pip install uv # Copy pyproject.toml first to leverage Docker cache COPY pyproject.toml . +# Copy source directory for editable install +COPY src/ ./src/ + # Install dependencies into system python environment of builder -RUN uv pip install --system -e . +RUN uv pip install --system . # Stage 2: Final Image FROM python:3.12-slim