11 lines
189 B
Docker
11 lines
189 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
EXPOSE 5000
|
|
|
|
RUN pip install gunicorn
|
|
CMD ["gunicorn", "-w", "4", "app:app"] |