randydev commited on
Commit
fc33873
·
verified ·
1 Parent(s): 06e0336

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -6
Dockerfile CHANGED
@@ -45,12 +45,9 @@ COPY requirements.txt .
45
  RUN pip3 install --upgrade pip setuptools
46
  RUN pip3 install -r requirements.txt
47
 
48
- RUN chown -R 1000:0 .
49
- RUN chmod 777 .
50
- RUN chown -R 1000:0 /app
51
- RUN chmod 777 /app
52
- RUN chown -R 1000:0 /.cache
53
- RUN chmod 777 /.cache
54
 
55
  EXPOSE 7860
56
 
 
45
  RUN pip3 install --upgrade pip setuptools
46
  RUN pip3 install -r requirements.txt
47
 
48
+ RUN chown -R 1000:0 . \
49
+ && chmod -R 777 /usr/src/app \
50
+ && chmod -R 777 /usr
 
 
 
51
 
52
  EXPOSE 7860
53