soiz1 commited on
Commit
c592614
·
verified ·
1 Parent(s): 3eac2c7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -20,6 +20,11 @@ RUN export COMMANDLINE_ARGS="--skip-torch-cuda-test"
20
  RUN mkdir -p ~/.cache/pip
21
  RUN chmod 777 ~/.cache/pip && mkdir -p /root/.cache/pip && sudo chown -R $(whoami):$(whoami) ~/.cache/pip
22
 
 
 
 
 
 
23
  RUN mkdir -p ~/.local
24
  RUN chmod 777 ~/.local && mkdir -p /root/.local && sudo chown -R $(whoami):$(whoami) ~/.local
25
  # WebUIの起動(app.pyを実行)
 
20
  RUN mkdir -p ~/.cache/pip
21
  RUN chmod 777 ~/.cache/pip && mkdir -p /root/.cache/pip && sudo chown -R $(whoami):$(whoami) ~/.cache/pip
22
 
23
+ RUN export PIP_CACHE_DIR=~/pip-cache
24
+
25
+ RUN mkdir -p ~/pip-cache
26
+ RUN chmod 777 ~/pip-cache && mkdir -p /root/pip-cache && sudo chown -R $(whoami):$(whoami) ~/pip-cache
27
+
28
  RUN mkdir -p ~/.local
29
  RUN chmod 777 ~/.local && mkdir -p /root/.local && sudo chown -R $(whoami):$(whoami) ~/.local
30
  # WebUIの起動(app.pyを実行)