ALYYAN commited on
Commit
b301879
·
verified ·
1 Parent(s): 86389c5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -22,10 +22,10 @@ RUN pip install --no-cache-dir -r requirements.txt \
22
  COPY . .
23
 
24
  # 7. Expose the port
25
- EXPOSE 8501
26
 
27
  # 8. Healthcheck
28
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
29
 
30
  # 9. Entrypoint with the FINAL fix
31
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
 
22
  COPY . .
23
 
24
  # 7. Expose the port
25
+ EXPOSE 7860
26
 
27
  # 8. Healthcheck
28
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
29
 
30
  # 9. Entrypoint with the FINAL fix
31
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]