Skip to content

Commit

Permalink
Switched to use the /api as the first request
Browse files Browse the repository at this point in the history
  • Loading branch information
tqvarnst committed Nov 19, 2019
1 parent 04f2f41 commit 6a28a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/run.sh
Expand Up @@ -85,7 +85,7 @@ function create_container {
printf "Starting ${image} container using port ${port} "

${container_runtime} run -d --rm --cpus=${container_cpu_limit} --memory=${container_memory_limit} -p ${port}:${port} --network=${container_network_name} --name=${name} ${env} ${image} > /dev/null
while ! (curl -sf http://localhost:${port} > /dev/null)
while ! (curl -sf http://localhost:${port}/api > /dev/null)
do
sleep .2
printf "."
Expand Down

0 comments on commit 6a28a23

Please sign in to comment.