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