rahim-khan-iitg commited on
Commit
16fd8d8
·
verified ·
1 Parent(s): d51d8d8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -15,6 +15,6 @@ COPY .env /app/.env
15
  # Copy the current directory contents into the container at /app
16
  COPY . .
17
  RUN mkdir -p /app/cache
18
- ENV TRANSFORMERS_CACHE=/app/cache
19
  # Command to run the FastAPI app
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
15
  # Copy the current directory contents into the container at /app
16
  COPY . .
17
  RUN mkdir -p /app/cache
18
+ ENV HF_HOME=/app/cache
19
  # Command to run the FastAPI app
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]