MdSourav76046 commited on
Commit
64b8be5
·
verified ·
1 Parent(s): bc3c30b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -18,11 +18,8 @@ RUN pip install --no-cache-dir -r requirements.txt
18
  COPY app.py .
19
 
20
  # Set environment variables for Hugging Face cache
21
- ENV TRANSFORMERS_CACHE=/app/cache
22
- ENV HF_HOME=/app/cache
23
-
24
- # Create cache directory
25
- RUN mkdir -p /app/cache
26
 
27
  # Expose port
28
  EXPOSE 8000
 
18
  COPY app.py .
19
 
20
  # Set environment variables for Hugging Face cache
21
+ ENV TRANSFORMERS_CACHE=/tmp
22
+ ENV HF_HOME=/tmp
 
 
 
23
 
24
  # Expose port
25
  EXPOSE 8000