11 lines
181 B
Docker
11 lines
181 B
Docker
|
FROM python:3.9-slim
|
||
|
|
||
|
ADD requirements.txt /app/
|
||
|
WORKDIR /app/
|
||
|
|
||
|
RUN pip3 install -r requirements.txt
|
||
|
|
||
|
ADD app.py /app/
|
||
|
|
||
|
EXPOSE 8000
|
||
|
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]
|