SamSak09 commited on
Commit
ed3057b
·
verified ·
1 Parent(s): ee221e6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -10,6 +10,9 @@ COPY . /app
10
  # Install dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
 
13
  # Hugging Face requires applications to run on port 7860
14
  EXPOSE 7860
15
 
 
10
  # Install dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # FORCE HUGGING FACE TO IGNORE THE POISONED CACHE
14
+ ENV HF_HOME=/tmp/huggingface_cache
15
+
16
  # Hugging Face requires applications to run on port 7860
17
  EXPOSE 7860
18