Install psycopg2-binary in Dockerfile only, not in dev requirements
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user