Spaces:
Sleeping
Sleeping
Sudheer-N
commited on
Commit
·
9a76cfe
1
Parent(s):
864a894
added permissions
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -6,7 +6,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 6 |
COPY app.py .
|
| 7 |
|
| 8 |
# Create cache dir and set env vars so HF/Transformers don't use `/`
|
| 9 |
-
RUN mkdir -p /app/cache
|
| 10 |
ENV HF_HOME=/app/cache
|
| 11 |
ENV TRANSFORMERS_CACHE=/app/cache
|
| 12 |
|
|
|
|
| 6 |
COPY app.py .
|
| 7 |
|
| 8 |
# Create cache dir and set env vars so HF/Transformers don't use `/`
|
| 9 |
+
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
| 10 |
ENV HF_HOME=/app/cache
|
| 11 |
ENV TRANSFORMERS_CACHE=/app/cache
|
| 12 |
|