eggacheb commited on
Commit
b742932
·
verified ·
1 Parent(s): fa4323e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile CHANGED
@@ -4,11 +4,21 @@ FROM pytorch/pytorch:${TORCH_VERSION}-cuda${CUDA_VERSION}-cudnn8-runtime
4
 
5
  WORKDIR /opt/NekoImageGallery
6
 
 
 
 
7
  RUN mkdir -p /opt/cache/huggingface
8
  RUN chmod 777 /opt/cache/huggingface
 
 
 
 
9
  RUN mkdir -p /opt/NekoImageGallery/static/thumbnails
10
  RUN chmod 777 /opt/NekoImageGallery/static/thumbnails
11
 
 
 
 
12
  COPY requirements.txt .
13
 
14
  RUN PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -r requirements.txt
 
4
 
5
  WORKDIR /opt/NekoImageGallery
6
 
7
+ RUN mkdir -p /opt/NekoImageGallery
8
+ RUN chmod 777 /opt/NekoImageGallery
9
+
10
  RUN mkdir -p /opt/cache/huggingface
11
  RUN chmod 777 /opt/cache/huggingface
12
+
13
+ RUN mkdir -p /opt/NekoImageGallery/static
14
+ RUN chmod 777 /opt/NekoImageGallery/static
15
+
16
  RUN mkdir -p /opt/NekoImageGallery/static/thumbnails
17
  RUN chmod 777 /opt/NekoImageGallery/static/thumbnails
18
 
19
+ RUN mkdir -p /opt/NekoImageGallery/static/_deleted
20
+ RUN chmod 777 /opt/NekoImageGallery/static/_deleted
21
+
22
  COPY requirements.txt .
23
 
24
  RUN PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -r requirements.txt