shahzaib7788's picture
Production release: compile secure streamlined interface platform
9317a2b
Raw
History Blame Contribute Delete
500 Bytes
#!/bin/bash
set -euo pipefail
echo "==== start.sh: container startup ===="
date
echo "Working dir: $(pwd)"
echo "User: $(whoami)"
echo "PORT=${PORT:-not-set}"
echo "Listing /app contents:"
ls -la /app || true
echo "Contents of app directory (top):"
ls -la . || true
echo "Starting Streamlit with port ${PORT:-7860}"
exec streamlit run app.py \
--server.address=0.0.0.0 \
--server.port=${PORT:-7860} \
--server.headless=true \
--server.enableCORS=false \
--server.enableXsrfProtection=false