Spaces:
Sleeping
Sleeping
Update deprecated transformer_cache
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 14 |
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
| 15 |
|
| 16 |
# Set an environment variable for the cache directory
|
| 17 |
-
ENV
|
| 18 |
|
| 19 |
# Expose the port your app will run on
|
| 20 |
EXPOSE 7860
|
|
|
|
| 14 |
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
| 15 |
|
| 16 |
# Set an environment variable for the cache directory
|
| 17 |
+
ENV HF_HOME=/app/.cache
|
| 18 |
|
| 19 |
# Expose the port your app will run on
|
| 20 |
EXPOSE 7860
|