ayush2917 commited on
Commit
421727b
·
verified ·
1 Parent(s): 4b1d10b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -25,8 +25,9 @@ COPY . .
25
  # Switch to non-root user
26
  USER appuser
27
 
28
- # Set environment variable for Hugging Face cache
29
  ENV HF_HOME=/app/cache
 
30
 
31
  # Expose the Flask port
32
  EXPOSE 8000
 
25
  # Switch to non-root user
26
  USER appuser
27
 
28
+ # Set environment variables for Hugging Face cache and disable Xet Storage
29
  ENV HF_HOME=/app/cache
30
+ ENV HUGGINGFACE_HUB_DISABLE_XET=true
31
 
32
  # Expose the Flask port
33
  EXPOSE 8000