ahmedzein commited on
Commit
f71921c
·
verified ·
1 Parent(s): 11194ef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -11,5 +11,8 @@ RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  COPY . .
13
 
 
 
 
14
  # Start the FastAPI app on port 7860, the default port expected by Spaces
15
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
11
 
12
  COPY . .
13
 
14
+ ENV HF_HOME=/tmp
15
+ ENV TRANSFORMERS_CACHE=/tmp
16
+
17
  # Start the FastAPI app on port 7860, the default port expected by Spaces
18
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]