rohitdiwane commited on
Commit
8d3075c
·
verified ·
1 Parent(s): 0c7805e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -24,14 +24,14 @@ RUN mkdir -p /app/.streamlit && chmod -R 777 /app/.streamlit
24
  RUN echo "\
25
  [server]\n\
26
  headless = true\n\
27
- port = 8080\n\
28
  enableCORS = false\n\
29
  enableXsrfProtection = false\n\
30
  \n\
31
  [browser]\ngatherUsageStats = false\n\
32
  " > /app/.streamlit/config.toml
33
 
34
- EXPOSE 8080
35
 
36
  # Default command to run the Streamlit app
37
- CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=8080", "--server.address=0.0.0.0"]
 
24
  RUN echo "\
25
  [server]\n\
26
  headless = true\n\
27
+ port = 7860\n\
28
  enableCORS = false\n\
29
  enableXsrfProtection = false\n\
30
  \n\
31
  [browser]\ngatherUsageStats = false\n\
32
  " > /app/.streamlit/config.toml
33
 
34
+ EXPOSE 7860
35
 
36
  # Default command to run the Streamlit app
37
+ CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]