hqms commited on
Commit
f7ccd51
·
1 Parent(s): 8578816

create torch cache dir

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -36,7 +36,9 @@ RUN --mount=type=cache,target=/root/.cache/pip \
36
  --mount=type=bind,source=requirements.txt,target=requirements.txt \
37
  python -m pip install -r requirements.txt
38
 
 
39
  RUN mkdir /nonexistent && chmod -cR 777 /nonexistent
 
40
 
41
  # Switch to the non-privileged user to run the application.
42
  USER appuser
 
36
  --mount=type=bind,source=requirements.txt,target=requirements.txt \
37
  python -m pip install -r requirements.txt
38
 
39
+
40
  RUN mkdir /nonexistent && chmod -cR 777 /nonexistent
41
+ RUN mkdir /.cache && chmod -cR 777 /.cache
42
 
43
  # Switch to the non-privileged user to run the application.
44
  USER appuser