nsarrazin HF staff commited on
Commit
1422270
1 Parent(s): 2c7328f

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -2
entrypoint.sh CHANGED
@@ -14,8 +14,7 @@ text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --tr
14
  curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
15
 
16
  # Start the chat-ui process
17
- pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &
18
-
19
  # Wait for any process to exit
20
  wait -n
21
 
 
14
  curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
15
 
16
  # Start the chat-ui process
17
+ dotenv -e /app/.env -c -- node /app/build/index.js -- --host 0.0.0.0 --port 3000
 
18
  # Wait for any process to exit
19
  wait -n
20