Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -8,7 +8,8 @@ WORKDIR /app
|
|
8 |
COPY requirements.txt .
|
9 |
|
10 |
# Change permission
|
11 |
-
RUN
|
|
|
12 |
|
13 |
# Set environment variables for Hugging Face and Matplotlib
|
14 |
ENV TRANSFORMERS_CACHE=/cache/huggingface
|
|
|
8 |
COPY requirements.txt .
|
9 |
|
10 |
# Change permission
|
11 |
+
RUN mkdir -p /cache/huggingface /cache/matplotlib \
|
12 |
+
&& chmod -R 777 /cache/huggingface /cache/matplotlib
|
13 |
|
14 |
# Set environment variables for Hugging Face and Matplotlib
|
15 |
ENV TRANSFORMERS_CACHE=/cache/huggingface
|