omgy commited on
Commit
e3a18d9
·
verified ·
1 Parent(s): 734f3cc

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +4 -6
entrypoint.sh CHANGED
@@ -1,10 +1,8 @@
1
- #!/usr/bin/env bash
2
- # Start backend and the agent worker. Both will run in foreground so HF keeps the container alive.
3
- # Use & if you want both processes; here we run uvicorn in the foreground and worker in background.
4
- # For robust production you would use a process manager like supervisord.
5
 
6
- # Start agents in background
7
  python -u agents/worker.py &
8
 
9
- # Start FastAPI
10
  uvicorn app:app --host 0.0.0.0 --port 7860 --reload
 
1
+ !/usr/bin/env bash
2
+
3
+
 
4
 
 
5
  python -u agents/worker.py &
6
 
7
+
8
  uvicorn app:app --host 0.0.0.0 --port 7860 --reload