Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,8 +5,8 @@ FROM python:3.9-slim
|
|
5 |
ENV TRANSFORMERS_CACHE=/app/.cache
|
6 |
ENV HF_DATASETS_CACHE=/app/.cache
|
7 |
|
8 |
-
# Create the cache directory
|
9 |
-
RUN mkdir -p /app/.cache
|
10 |
|
11 |
# Set the working directory in the container
|
12 |
WORKDIR /app
|
|
|
5 |
ENV TRANSFORMERS_CACHE=/app/.cache
|
6 |
ENV HF_DATASETS_CACHE=/app/.cache
|
7 |
|
8 |
+
# Create the cache directory and set permissions
|
9 |
+
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
10 |
|
11 |
# Set the working directory in the container
|
12 |
WORKDIR /app
|