julien-c HF staff commited on
Commit
0f961af
1 Parent(s): d0fe9c5
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -6,6 +6,10 @@ 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", "server/main.py", "--port", "7860"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
+ RUN mkdir -p /.cache
10
+
11
+ RUN chmod 777 /.cache
12
+
13
  COPY . .
14
 
15
  CMD ["python", "server/main.py", "--port", "7860"]