gajula21 commited on
Commit
c2c3be2
·
verified ·
1 Parent(s): 8ade13c

Set HF_HOME env var in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -6,6 +6,8 @@ COPY requirements.txt /app/
6
 
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
 
 
9
  COPY app.py /app/
10
 
11
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
6
 
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
+ ENV HF_HOME="/home/user/.cache/huggingface"
10
+
11
  COPY app.py /app/
12
 
13
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]