13 lines
202 B
Docker
13 lines
202 B
Docker
FROM python:3.11-slim
|
|
|
|
COPY ./requirements.txt requirements.txt
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 5000
|
|
|
|
CMD ["gunicorn", "wsgi:app", "-b", "0.0.0.0:5000"]
|
|
|