abdoolamunir commited on
Commit
08c5d2f
1 Parent(s): 7a514e6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -24,4 +24,7 @@ EXPOSE 8000
24
  ENV NAME World
25
 
26
  # Command to run the application
27
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
 
 
 
24
  ENV NAME World
25
 
26
  # Command to run the application
27
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
28
+
29
+ # Set environment variable for Transformers cache directory
30
+ ENV TRANSFORMERS_CACHE=/app/.cache/huggingface/transformers