From 7b52663383cdbe62a7e8902626f29679a4889367 Mon Sep 17 00:00:00 2001 From: mrex Date: Sat, 18 Feb 2023 18:36:57 +0100 Subject: [PATCH] fix: make health check in Dockerfile honor context path setting (#407) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 74e1c30..5ce0b95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,6 +53,6 @@ RUN ["chmod", "g+w", "."] RUN ["chmod", "+x", "./bootstrap.sh"] HEALTHCHECK --interval=30s --retries=3 --timeout=1s \ -CMD curl -f http://localhost:${LD_SERVER_PORT:-9090}/health || exit 1 +CMD curl -f http://localhost:${LD_SERVER_PORT:-9090}/${LD_CONTEXT_PATH}health || exit 1 CMD ["./bootstrap.sh"]