Skip to content

Commit

Permalink
Snappier container healthchecks
Browse files Browse the repository at this point in the history
  • Loading branch information
tanasegabriel committed Jan 6, 2025
1 parent a421a6b commit 4da2bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ COPY --from=build-stage --chown=${UID}:${GID} /app/dist/assets /www/default-asse

USER ${UID}:${GID}

HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
HEALTHCHECK --start-period=10s --start-interval=1s --interval=30s --timeout=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1

EXPOSE ${PORT}
Expand Down

0 comments on commit 4da2bef

Please sign in to comment.