fix dockerfile

This commit is contained in:
mst 2025-03-19 13:37:58 +03:00
parent bbb7fe6b1e
commit a1c6116099
No known key found for this signature in database

View file

@ -2,6 +2,7 @@ FROM python:3-alpine
WORKDIR /catask
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN apk add --no-cache postgresql-client && \
pip install --no-cache-dir -r requirements.txt
ENTRYPOINT [ "gunicorn", "-w", "4", "app:app", "--bind", "0.0.0.0:8000" ]
ENTRYPOINT [ "gunicorn", "-w", "4", "app:app", "--bind", "0.0.0.0:8000" ]