Mananjp commited on
Commit
9ff5f0f
·
1 Parent(s): fd95cd8
Files changed (1) hide show
  1. Dockerfile.frontend +1 -1
Dockerfile.frontend CHANGED
@@ -28,4 +28,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
28
  CMD python -c "import urllib.request, os; port=os.environ.get('PORT', '8501'); urllib.request.urlopen(f'http://127.0.0.1:{port}/_stcore/health')" || exit 1
29
 
30
  # Run Streamlit using the dynamic PORT provided by the platform (e.g. Railway)
31
- CMD sh -c "streamlit run app.py --server.port=${PORT:-8501} --server.address=0.0.0.0 --server.headless=true --server.enableCORS=false --server.enableWebsocketCompression=false"
 
28
  CMD python -c "import urllib.request, os; port=os.environ.get('PORT', '8501'); urllib.request.urlopen(f'http://127.0.0.1:{port}/_stcore/health')" || exit 1
29
 
30
  # Run Streamlit using the dynamic PORT provided by the platform (e.g. Railway)
31
+ CMD sh -c "streamlit run app.py --server.port=${PORT:-8501} --server.address=0.0.0.0 --server.headless=true --server.enableCORS=false --server.enableXsrfProtection=false --server.enableWebsocketCompression=false --browser.gatherUsageStats=false"