leonsimon23 commited on
Commit
a258596
·
verified ·
1 Parent(s): a9a2f3b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -20,8 +20,12 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
20
  # Install Python dependencies
21
  RUN pip install -r requirements.txt
22
 
 
 
 
 
23
  # Expose the port Streamlit will run on
24
- EXPOSE 8051
25
 
26
  # Start Streamlit app with appropriate server settings
27
- CMD ["streamlit", "run", "app.py", "--server.port=8051", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
 
20
  # Install Python dependencies
21
  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
29
 
30
  # Start Streamlit app with appropriate server settings
31
+ #CMD ["streamlit", "run", "app.py", "--server.port=8051", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]