Skip to content

Commit

Permalink
--output /dev/null (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriysafronov authored Nov 3, 2022
1 parent 301c4e0 commit 6c8c40c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -e

# Wait for the application to start before accepting ALB requests.
if [[ -z "${SKIP_HEALTHCHECK}" ]]; then
curl --silent --fail --max-time 5 "http://${APP_HOST:-app}:${APP_PORT:-8080}${APP_HEALTHCHECK_PATH:-/health}" || ( echo "Couldn't contact app"; exit 1 )
curl --silent --fail --max-time 5 --output /dev/null "http://${APP_HOST:-app}:${APP_PORT:-8080}${APP_HEALTHCHECK_PATH:-/health}" || ( echo "Couldn't contact app"; exit 1 )
fi

# run in foreground as pid 1
Expand Down

0 comments on commit 6c8c40c

Please sign in to comment.