Feliz / Dockerfile
SherlockRamos's picture
Update Dockerfile
b6db600 verified
raw
history blame
270 Bytes
# requirements.txt
flask==2.0.1
gunicorn==20.1.0
numpy==1.21.2
pandas==1.3.3
sqlalchemy==1.4.22
# Dockerfile
FROM python:3.8-slim
WORKDIR /app
COPY . /app
RUN mkdir requfix && pip install -r requirements.txt
EXPOSE 5000
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]