Kurumi commited on
Commit
020a010
·
1 Parent(s): 09fee18

fix: permission .cache folder error

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -6,6 +6,9 @@ COPY --chown=1000 . /app
6
 
7
  RUN chmod -R 777 /app
8
 
 
 
 
9
  RUN pip install --break-system-packages --no-cache-dir --requirement requirements.txt
10
 
11
  CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--worker-class", "gevent"]
 
6
 
7
  RUN chmod -R 777 /app
8
 
9
+ RUN mkdir /.cache \
10
+ && chmod -R 777 /.cache
11
+
12
  RUN pip install --break-system-packages --no-cache-dir --requirement requirements.txt
13
 
14
  CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--worker-class", "gevent"]