3v324v23 commited on
Commit
7995ffd
·
1 Parent(s): dd9d192
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -36,7 +36,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
36
  RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd67cdrqz4jra0p3er966iuk -O clevr.pth
37
  RUN rm -rf ~/.cache/torch_extensions
38
 
39
- RUN mkdir /home/${USER_NAME}/.cache
40
  ENV TORCH_EXTENSIONS_DIR=/home/${USER_NAME}/.cache
41
 
42
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
36
  RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd67cdrqz4jra0p3er966iuk -O clevr.pth
37
  RUN rm -rf ~/.cache/torch_extensions
38
 
39
+ RUN mkdir -m 700 /home/${USER_NAME}/.cache
40
  ENV TORCH_EXTENSIONS_DIR=/home/${USER_NAME}/.cache
41
 
42
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]