Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -4,9 +4,7 @@ FROM python:3.9-slim
|
|
4 |
# Set environment variables for Hugging Face cache
|
5 |
ENV TRANSFORMERS_CACHE=/tmp/.cache
|
6 |
ENV HF_DATASETS_CACHE=/tmp/.cache
|
7 |
-
|
8 |
-
# Set PyTorch cache directory
|
9 |
-
ENV TORCH_HOME=/tmp/.cache
|
10 |
|
11 |
# Create the cache directory and set permissions
|
12 |
RUN mkdir -p /tmp/.cache && chmod -R 777 /tmp/.cache
|
|
|
4 |
# Set environment variables for Hugging Face cache
|
5 |
ENV TRANSFORMERS_CACHE=/tmp/.cache
|
6 |
ENV HF_DATASETS_CACHE=/tmp/.cache
|
7 |
+
ENV TORCH_HOME=/tmp/.cache # Set PyTorch cache directory
|
|
|
|
|
8 |
|
9 |
# Create the cache directory and set permissions
|
10 |
RUN mkdir -p /tmp/.cache && chmod -R 777 /tmp/.cache
|