Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -10,8 +10,10 @@ ENV TRANSFORMERS_CACHE=/app/.cache/huggingface
|
|
| 10 |
ENV HF_HOME=/app/.cache/huggingface
|
| 11 |
ENV MPLCONFIGDIR=/app/.cache/matplotlib
|
| 12 |
|
|
|
|
|
|
|
| 13 |
# Adding permission for the cache
|
| 14 |
-
|
| 15 |
|
| 16 |
# Give write permissions to the /app directory
|
| 17 |
RUN chmod -R 777 /app
|
|
|
|
| 10 |
ENV HF_HOME=/app/.cache/huggingface
|
| 11 |
ENV MPLCONFIGDIR=/app/.cache/matplotlib
|
| 12 |
|
| 13 |
+
RUN mkdir -p /app/.cache
|
| 14 |
+
|
| 15 |
# Adding permission for the cache
|
| 16 |
+
RUN chmod -R 777 /app/.cache
|
| 17 |
|
| 18 |
# Give write permissions to the /app directory
|
| 19 |
RUN chmod -R 777 /app
|