TaahKay commited on
Commit
8e1ead8
·
verified ·
1 Parent(s): 02a661c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -31,7 +31,8 @@ RUN mkdir -p /app/.cache/huggingface/hub && \
31
 
32
  # 2) Tell Streamlit where to put its cache
33
  ENV XDG_CACHE_HOME=/app/.streamlit
34
- ENV TRANSFORMERS_CACHE=/app/.cache/huggingface/hub
 
35
  EXPOSE 8501
36
 
37
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
 
31
 
32
  # 2) Tell Streamlit where to put its cache
33
  ENV XDG_CACHE_HOME=/app/.streamlit
34
+ ENV XDG_CACHE_TRANSFORMERS = /app/.cache/huggingface/hub
35
+
36
  EXPOSE 8501
37
 
38
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1