pleonova commited on
Commit
001dfd0
1 Parent(s): 8bb4440

Update deprecated transformer_cache

Browse files
Files changed (1) hide show
  1. 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 TRANSFORMERS_CACHE=/app/.cache
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