Change Dockerfile ordering
All checks were successful
CI / backend-lint (push) Successful in 8s
CI / frontend-lint (push) Successful in 29s

This commit is contained in:
Julian Tabel
2026-02-13 15:53:22 +01:00
parent 7a4d5d26b5
commit b7d1c88d5e
2 changed files with 17 additions and 1 deletions

View File

@@ -10,10 +10,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Install Python dependencies
COPY pyproject.toml README.md alembic.ini ./
COPY src/ ./src/
# Create minimal package stub so editable install can resolve the package
RUN mkdir -p src/app && touch src/app/__init__.py
RUN pip install --no-cache-dir -e .
# Copy source (will be overridden by volume mount in dev)
COPY src/ ./src/
# Expose port
EXPOSE 8000