Install psycopg2-binary in Dockerfile only, not in dev requirements

This commit is contained in:
Oliver Hofmann
2026-04-29 08:30:16 +02:00
parent 03712fe401
commit 3b7c88bf2c
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ FROM python:3.12-slim
WORKDIR /app
COPY backend/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt psycopg2-binary
COPY backend/ backend/
COPY --from=frontend-builder /app/frontend/dist frontend/dist