Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ COPY requirements.txt .
|
|
| 10 |
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
# Set Hugging Face cache for all model downloads (best practice for Spaces)
|
| 13 |
-
ENV
|
| 14 |
RUN mkdir -p /workspace/.cache/huggingface
|
| 15 |
|
| 16 |
# Pre-download Stable Diffusion v1-5 weights into cache
|
|
|
|
| 10 |
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
# Set Hugging Face cache for all model downloads (best practice for Spaces)
|
| 13 |
+
ENV HF_HOME="/workspace/.cache/huggingface"
|
| 14 |
RUN mkdir -p /workspace/.cache/huggingface
|
| 15 |
|
| 16 |
# Pre-download Stable Diffusion v1-5 weights into cache
|