NavyDevilDoc commited on
Commit
2201a66
·
verified ·
1 Parent(s): 8ad7bee

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -31,13 +31,13 @@ RUN chmod -R 777 /app
31
 
32
  # 6. CONFIGURATION
33
  # Force Streamlit to use the correct port
34
- ENV STREAMLIT_SERVER_PORT=8501
35
  ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
36
  ENV STREAMLIT_SERVER_FILE_WATCHER_TYPE=none
37
 
38
  # Expose the port
39
- EXPOSE 8501
40
 
41
  # 7. Start the App
42
  # CRITICAL FIX: We tell Streamlit to run the file inside the 'src' folder
43
- ENTRYPOINT ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
 
31
 
32
  # 6. CONFIGURATION
33
  # Force Streamlit to use the correct port
34
+ ENV STREAMLIT_SERVER_PORT=7860
35
  ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
36
  ENV STREAMLIT_SERVER_FILE_WATCHER_TYPE=none
37
 
38
  # Expose the port
39
+ EXPOSE 7860
40
 
41
  # 7. Start the App
42
  # CRITICAL FIX: We tell Streamlit to run the file inside the 'src' folder
43
+ ENTRYPOINT ["streamlit", "run", "src/app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]