From 179071b817126ebb14cc7d3facaa670b0eed7ded Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Sun, 22 Feb 2026 08:51:45 -0600 Subject: [PATCH] Fix Dockerfile: copy source before pip install The pyproject.toml references the package source, so src/ must be present when pip resolves metadata. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4bdb6b9..831e04c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,16 +8,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app -# Install Python deps +# Copy everything and install COPY pyproject.toml . -RUN pip install --no-cache-dir . - -# Copy source +COPY src/ src/ COPY alembic.ini . COPY alembic/ alembic/ -COPY src/ src/ -# Install the project itself RUN pip install --no-cache-dir -e . # Create cache directories