Skip to content

Commit

Permalink
Properly test health check
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Feb 5, 2025
1 parent 774d654 commit 6d249e0
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 @@ -23,5 +23,5 @@ COPY --from=client-builder /assets/ /var/www/mcping/

ENV ASSET_DIR="/var/www/mcping/"

HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD ["healthcheck", "http://localhost:8080"]
HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD ["/usr/bin/mcping", "healthcheck", "http://127.0.0.1:8080"]
ENTRYPOINT ["/usr/bin/mcping"]

0 comments on commit 6d249e0

Please sign in to comment.