rishab1090 commited on
Commit
4fd6cfd
·
verified ·
1 Parent(s): ff3b732

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +5 -0
start.sh ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # entrypoint for the container — run uvicorn on $PORT
3
+ set -euo pipefail
4
+ PORT="${PORT:-8080}"
5
+ exec python -m uvicorn app:app --host 0.0.0.0 --port "${PORT}" --workers 1