chat-ui-idefics / entrypoint.sh
nsarrazin's picture
fix build path
df9e3c5 unverified
raw
history blame contribute delete
246 Bytes
#!/bin/bash
# Start the local Mongo database
mongod &
# Start the chat-ui process
pm2 start /app/chat-ui/build/index.js -i $CPU_CORES --no-daemon &
# Wait for any process to exit
wait -n
# Exit with status of process that exited first
exit $?