3v324v23 commited on
Commit
21a6c47
1 Parent(s): 44ddd4a
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -27,7 +27,6 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
27
  RUN useradd -m -u 1000 user
28
  USER user
29
 
30
- ENV TORCH_EXTENSIONS_DIR=/home/user/.cache
31
  WORKDIR /home/user
32
 
33
  # RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
@@ -41,6 +40,7 @@ RUN wget https://www.dropbox.com/scl/fi/105qy7mkqfjcmnfd3tmv0/edit.pth?rlkey=qcd
41
  RUN wget https://www.dropbox.com/scl/fi/k5qc5y5rmhuru5eztegbn/gradio_draggable-0.0.1-py3-none-any.whl?rlkey=fr36c5gfht4d8wwjr0bb9qu9w -O gradio_draggable-0.0.1-py3-none-any.whl
42
  RUN pip install gradio_draggable-0.0.1-py3-none-any.whl
43
 
 
44
  ENV TORCH_EXTENSIONS_DIR=/home/user/.cache
45
 
46
 
 
27
  RUN useradd -m -u 1000 user
28
  USER user
29
 
 
30
  WORKDIR /home/user
31
 
32
  # RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
 
40
  RUN wget https://www.dropbox.com/scl/fi/k5qc5y5rmhuru5eztegbn/gradio_draggable-0.0.1-py3-none-any.whl?rlkey=fr36c5gfht4d8wwjr0bb9qu9w -O gradio_draggable-0.0.1-py3-none-any.whl
41
  RUN pip install gradio_draggable-0.0.1-py3-none-any.whl
42
 
43
+ RUN mkdir -m 700 /home/user/.cache
44
  ENV TORCH_EXTENSIONS_DIR=/home/user/.cache
45
 
46