nsarrazin HF staff commited on
Commit
898306e
·
verified ·
1 Parent(s): 2665d04

Rename entrypoint.sh.template to entrypoint.sh

Browse files
entrypoint.sh.template → entrypoint.sh RENAMED
@@ -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