eggacheb commited on
Commit
1c5f8fc
·
verified ·
1 Parent(s): db34a2a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -4,6 +4,9 @@ FROM pytorch/pytorch:${TORCH_VERSION}-cuda${CUDA_VERSION}-cudnn8-runtime
4
 
5
  WORKDIR /opt/NekoImageGallery
6
 
 
 
 
7
  COPY requirements.txt .
8
 
9
  RUN PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -r requirements.txt
 
4
 
5
  WORKDIR /opt/NekoImageGallery
6
 
7
+ RUN mkdir -p /opt/cache/huggingface
8
+ RUN chmod 777 /opt/cache/huggingface
9
+
10
  COPY requirements.txt .
11
 
12
  RUN PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -r requirements.txt