shreyankisiri commited on
Commit
7ca609f
·
verified ·
1 Parent(s): 4f0f627

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -22,7 +22,14 @@ COPY src/ ./src/
22
  # Install Python dependencies
23
  RUN pip3 install --use-feature=fast-deps -r requirements.txt
24
 
25
-
 
 
 
 
 
 
 
26
 
27
 
28
 
 
22
  # Install Python dependencies
23
  RUN pip3 install --use-feature=fast-deps -r requirements.txt
24
 
25
+ # Set data directories to writable locations
26
+ ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
27
+ ENV CRAWL4AI_BASE_DIRECTORY=/app
28
+ ENV CRAWL4AI_DATA_DIR=/app/.crawl4ai
29
+
30
+ # Create directories with proper permissions
31
+ RUN mkdir -p /app/.streamlit /app/.crawl4ai && \
32
+ chmod 755 /app/.streamlit /app/.crawl4ai
33
 
34
 
35