abazoge commited on
Commit
c899dfb
1 Parent(s): 69e465a

Update entrypoint.sh.template

Browse files
Files changed (1) hide show
  1. entrypoint.sh.template +1 -1
entrypoint.sh.template CHANGED
@@ -12,7 +12,7 @@ mongod &
12
  text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
13
 
14
  # Wait for text-generation-inference to start
15
- curl --retry 60 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
16
 
17
  # Start the chat-ui process
18
  pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &
 
12
  text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
13
 
14
  # Wait for text-generation-inference to start
15
+ curl --retry 100 --retry-delay 10 --retry-connrefused http://127.0.0.1:8080/health
16
 
17
  # Start the chat-ui process
18
  pm2 start /app/build/index.js -i $CPU_CORES --no-daemon &