Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ COPY .env /app/.env
|
|
| 14 |
|
| 15 |
# Copy the current directory contents into the container at /app
|
| 16 |
COPY . .
|
| 17 |
-
RUN mkdir -p /app/cache
|
| 18 |
RUN mkdir -p /app/cache/hub
|
| 19 |
ENV HF_HOME=/app/cache
|
| 20 |
ENV TRANSFORMERS_CACHE=/app/cache
|
|
|
|
| 14 |
|
| 15 |
# Copy the current directory contents into the container at /app
|
| 16 |
COPY . .
|
| 17 |
+
RUN mkdir -p /app/cache && chmod 777 /app/cache
|
| 18 |
RUN mkdir -p /app/cache/hub
|
| 19 |
ENV HF_HOME=/app/cache
|
| 20 |
ENV TRANSFORMERS_CACHE=/app/cache
|