SherlockRamos commited on
Commit
b6db600
1 Parent(s): 099336a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -1,6 +1,13 @@
 
 
 
 
 
 
 
1
  FROM python:3.8-slim
2
  WORKDIR /app
3
  COPY . /app
4
- RUN pip install -r requirements.txt
5
  EXPOSE 5000
6
  CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
 
1
+ # requirements.txt
2
+ flask==2.0.1
3
+ gunicorn==20.1.0
4
+ numpy==1.21.2
5
+ pandas==1.3.3
6
+ sqlalchemy==1.4.22
7
+ # Dockerfile
8
  FROM python:3.8-slim
9
  WORKDIR /app
10
  COPY . /app
11
+ RUN mkdir requfix && pip install -r requirements.txt
12
  EXPOSE 5000
13
  CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]