Lokiiparihar commited on
Commit
80a43ee
·
verified ·
1 Parent(s): f0da322

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -24,7 +24,7 @@ RUN mkdir -p $STREAMLIT_HOME && \
24
  echo "\
25
  [server]\n\
26
  headless = true\n\
27
- port = 8501\n\
28
  enableCORS = false\n\
29
  \n\
30
  [theme]\n\
@@ -36,10 +36,10 @@ base = 'light'\n\
36
  RUN pip3 install --no-cache-dir -r requirements.txt
37
 
38
  # Expose port
39
- EXPOSE 8501
40
 
41
  # Health check
42
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
43
 
44
  # Entrypoint to run app
45
- ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8502", "--server.address=0.0.0.0"]
 
24
  echo "\
25
  [server]\n\
26
  headless = true\n\
27
+ port = 7860\n\
28
  enableCORS = false\n\
29
  \n\
30
  [theme]\n\
 
36
  RUN pip3 install --no-cache-dir -r requirements.txt
37
 
38
  # Expose port
39
+ EXPOSE 7860
40
 
41
  # Health check
42
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
43
 
44
  # Entrypoint to run app
45
+ ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]