yassine123Z commited on
Commit
a480c23
·
verified ·
1 Parent(s): 111031d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,4 +8,7 @@ RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  COPY app.py .
10
 
 
 
 
11
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
8
 
9
  COPY app.py .
10
 
11
+ # Set Hugging Face cache to a writable location
12
+ ENV HF_HOME=/tmp/hf_cache
13
+
14
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]