File size: 301 Bytes
fd84f0b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Start the first process
langflow run --backend-only --env-file /app/.env --host 0.0.0.0 --port 8888 &

# Start the second process
python3 -m chainlit run app.py --host 0.0.0.0 --port 7860 &

# Wait for any process to exit
wait -n

# Exit with status of process that exited first
exit $?