langflowTest3 / start.sh
xaochNYU's picture
Upload start.sh
fd84f0b verified
raw
history blame contribute delete
301 Bytes
#!/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 $?