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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -14,6 +14,7 @@ COPY .env /app/.env
14
 
15
  # Copy the current directory contents into the container at /app
16
  COPY . .
17
-
 
18
  # Command to run the FastAPI app
19
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
14
 
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"]