Suprito's picture
Update start.sh
b643f1b verified
Raw
History Blame Contribute Delete
305 Bytes
#!/bin/bash
# Start FastAPI in the background
uvicorn main:app --host 0.0.0.0 --port 8000 &
# Wait a few seconds for the API to initialize
sleep 5
# Start Streamlit in the FOREGROUND (No '&' at the end)
# This keeps the container running
streamlit run app.py --server.port 7860 --server.address 0.0.0.0