arcma commited on
Commit
f4c1467
·
1 Parent(s): 68b7b14

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,11 +1,12 @@
1
  FROM python:3.9
2
 
3
  WORKDIR /code
 
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
-
11
  CMD ["python", "run.py"]
 
1
  FROM python:3.9
2
 
3
  WORKDIR /code
4
+ ENV HOME /code
5
 
6
  COPY ./requirements.txt /code/requirements.txt
7
 
8
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
 
10
  COPY . .
11
+ CMD chmod -R 777 /code
12
  CMD ["python", "run.py"]