mercybabs commited on
Commit
372e448
·
1 Parent(s): 48422f2

update dockerfile with the right port

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -22,4 +22,6 @@ EXPOSE 8501
22
  # # Set the default command to run the app
23
  # CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
24
  # Set the default command to run the app
25
- CMD ["streamlit", "run", "app.py", "--server.port=${PORT:-8501}", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
 
 
 
22
  # # Set the default command to run the app
23
  # CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
24
  # Set the default command to run the app
25
+ # CMD ["streamlit", "run", "app.py", "--server.port=${PORT:-8501}", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
26
+
27
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]