imseldrith commited on
Commit
cb4eb1f
·
1 Parent(s): 2e1d385

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -1,11 +1,11 @@
1
  FROM python:3.9
2
 
3
- WORKDIR /app
4
- RUN chmod 777 /app
5
- COPY requirements.txt /app/
6
 
7
- RUN pip3 install -r requirements.txt
 
8
 
9
- COPY . /app
10
 
11
  CMD python3 app.py
 
1
  FROM python:3.9
2
 
3
+ WORKDIR /usr/src/app
4
+ RUN chmod 777 /usr/src/app
 
5
 
6
+ COPY requirements.txt .
7
+ RUN pip3 install --no-cache-dir -r requirements.txt
8
 
9
+ COPY . .
10
 
11
  CMD python3 app.py