TaahKay commited on
Commit
05879ed
·
verified ·
1 Parent(s): 0560f6b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -14,6 +14,10 @@ RUN apt-get update && apt-get install -y \
14
  COPY requirements.txt ./
15
  RUN pip3 install --no-cache-dir -r requirements.txt
16
 
 
 
 
 
17
  # Copy app and support folders
18
  COPY app.py ./
19
  COPY utils/ ./utils/
 
14
  COPY requirements.txt ./
15
  RUN pip3 install --no-cache-dir -r requirements.txt
16
 
17
+ # 2) Set environment so Streamlit & HF cache use these dirs
18
+ ENV HOME=/app
19
+ ENV TRANSFORMERS_CACHE=/app/.cache/huggingface/hub
20
+
21
  # Copy app and support folders
22
  COPY app.py ./
23
  COPY utils/ ./utils/