Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|