Spaces:
Running
Running
Update entrypoint.sh.template
Browse files- entrypoint.sh.template +1 -1
entrypoint.sh.template
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
|
15 |
# Start the chat-ui process
|
16 |
export PUBLIC_VERSION="2.0"
|
17 |
-
dotenv -e /app/.env.local -e /app/.env -c -- pm2 start /app/build/index.js -i
|
18 |
rm -f /app/.env.local -e /app/.env
|
19 |
|
20 |
# Wait for any process to exit
|
|
|
14 |
|
15 |
# Start the chat-ui process
|
16 |
export PUBLIC_VERSION="2.0"
|
17 |
+
dotenv -e /app/.env.local -e /app/.env -c -- pm2 start /app/build/index.js -i 8 --exec_mode=cluster --no-daemon &
|
18 |
rm -f /app/.env.local -e /app/.env
|
19 |
|
20 |
# Wait for any process to exit
|