set -e | |
# Start the Next.js application | |
npm start & | |
# Start the FastAPI backend | |
uvicorn main:app --host 0.0.0.0 --port 8000 | |
# Wait for any process to exit | |
wait -n | |
# Exit with status of process that exited first | |
exit $? |
set -e | |
# Start the Next.js application | |
npm start & | |
# Start the FastAPI backend | |
uvicorn main:app --host 0.0.0.0 --port 8000 | |
# Wait for any process to exit | |
wait -n | |
# Exit with status of process that exited first | |
exit $? |