a.pourmand commited on
Commit
805d284
1 Parent(s): 4952128

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -1,5 +1,11 @@
1
  FROM python:3.9-slim
2
 
3
- RUN pip install --no-cache-dir requirements.txt
 
 
 
 
 
 
4
 
5
  CMD ["python","app.py"]
 
1
  FROM python:3.9-slim
2
 
3
+ COPY requirements.txt /tmp/requirements.txt
4
+
5
+ WORKDIR /app
6
+
7
+ RUN pip install --no-cache-dir -r /tmp/requirements.txt
8
+
9
+ RUN . /app
10
 
11
  CMD ["python","app.py"]