Update Dockerfile
Browse files- 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
|
|
|
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
|