Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,8 @@ FROM python:3.10-slim
|
|
| 2 |
|
| 3 |
RUN mkdir -p /app/hf_cache
|
| 4 |
RUN chmod -R 777 /app/hf_cache
|
|
|
|
|
|
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
|
|
|
| 2 |
|
| 3 |
RUN mkdir -p /app/hf_cache
|
| 4 |
RUN chmod -R 777 /app/hf_cache
|
| 5 |
+
ENV HF_HOME=/app/hf_cache
|
| 6 |
+
ENV TRANSFORMERS_CACHE=/app/hf_cache
|
| 7 |
|
| 8 |
WORKDIR /app
|
| 9 |
|