leonsimon23 commited on
Commit
eef5619
·
verified ·
1 Parent(s): 0cdd688

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -22,7 +22,10 @@ RUN pip install -r requirements.txt
22
 
23
 
24
  EXPOSE 7860
25
- CMD ["streamlit", "run", "app.py", "--server.port=7860"]
 
 
 
26
 
27
  # Expose the port Streamlit will run on
28
  #EXPOSE 8051
 
22
 
23
 
24
  EXPOSE 7860
25
+ #CMD ["streamlit", "run", "app.py", "--server.port=7860"]
26
+
27
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=true"]
28
+
29
 
30
  # Expose the port Streamlit will run on
31
  #EXPOSE 8051