TaahKay commited on
Commit
cded9c2
·
verified ·
1 Parent(s): 8f1e078

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -28,6 +28,10 @@ COPY .streamlit/ .streamlit/
28
  # 1) Create the cache dir
29
  RUN mkdir -p /app/.streamlit/cache \
30
  && chmod -R a+rwx /app/.streamlit
 
 
 
 
31
 
32
  # 2) Tell Streamlit where to put its cache
33
  ENV XDG_CACHE_HOME=/app/.streamlit
 
28
  # 1) Create the cache dir
29
  RUN mkdir -p /app/.streamlit/cache \
30
  && chmod -R a+rwx /app/.streamlit
31
+
32
+ # Create writable cache directories
33
+ RUN mkdir -p /app/.cache/huggingface/hub && \
34
+ chmod -R 777 /app/.cache
35
 
36
  # 2) Tell Streamlit where to put its cache
37
  ENV XDG_CACHE_HOME=/app/.streamlit