HacksterT commited on
Commit
cfd6a5d
·
verified ·
1 Parent(s): 22127e6

Force update Dockerfile - 1754763035

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -6,8 +6,9 @@ COPY . .
6
 
7
  RUN pip3 install -r requirements.txt
8
 
9
- # Create .streamlit directory and config to fix permissions
10
  RUN mkdir -p /app/.streamlit
 
11
  ENV STREAMLIT_SERVER_HEADLESS=true
12
  ENV STREAMLIT_SERVER_ENABLE_CORS=false
13
  ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false
 
6
 
7
  RUN pip3 install -r requirements.txt
8
 
9
+ # Fix Streamlit file permissions - set HOME after WORKDIR creates /app
10
  RUN mkdir -p /app/.streamlit
11
+ ENV HOME=/app
12
  ENV STREAMLIT_SERVER_HEADLESS=true
13
  ENV STREAMLIT_SERVER_ENABLE_CORS=false
14
  ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false