rishab1090 commited on
Commit
10235cf
·
verified ·
1 Parent(s): 289e69a

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +2 -2
start.sh CHANGED
@@ -1,5 +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 python3 -m uvicorn app:app --host 0.0.0.0 --port "${PORT}" --workers 1
 
1
  #!/usr/bin/env bash
 
2
  set -euo pipefail
3
+ exec python3 -m uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860} --workers 1
4
+
5
  exec python3 -m uvicorn app:app --host 0.0.0.0 --port "${PORT}" --workers 1