Aryan Jain commited on
Commit
c256bf2
·
1 Parent(s): 2a728d0

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -56,6 +56,11 @@ RUN mkdir -p /app/temp && chmod 777 /app/temp
56
  # Create Streamlit config directory and set permissions
57
  RUN mkdir -p /app/.streamlit && chmod 777 /app/.streamlit
58
 
 
 
 
 
 
59
  # Copy Streamlit configuration
60
  # COPY .streamlit/ /app/.streamlit/
61
 
 
56
  # Create Streamlit config directory and set permissions
57
  RUN mkdir -p /app/.streamlit && chmod 777 /app/.streamlit
58
 
59
+ # Doctr needs a writable cache directory
60
+ ENV DOCTR_CACHE_DIR=/app/.cache/doctr
61
+ RUN mkdir -p /app/.cache/doctr && chmod -R 777 /app/.cache
62
+
63
+
64
  # Copy Streamlit configuration
65
  # COPY .streamlit/ /app/.streamlit/
66