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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -18,6 +18,9 @@ RUN pip3 install --no-cache-dir -r requirements.txt
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/
 
18
  ENV HOME=/app
19
  ENV TRANSFORMERS_CACHE=/app/.cache/huggingface/hub
20
 
21
+ # 4) Fix permissions on both folders *after* copying them
22
+ RUN chmod -R a+rwx /app/.streamlit /app/.cache/huggingface
23
+
24
  # Copy app and support folders
25
  COPY app.py ./
26
  COPY utils/ ./utils/