File size: 270 Bytes
b6db600
 
 
 
 
 
 
099336a
 
 
b6db600
099336a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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"]