fix: make health check in Dockerfile honor context path setting (#407)

This commit is contained in:
mrex
2023-02-18 18:36:57 +01:00
committed by GitHub
parent 0c86587b5d
commit 7b52663383

View File

@@ -53,6 +53,6 @@ RUN ["chmod", "g+w", "."]
RUN ["chmod", "+x", "./bootstrap.sh"] RUN ["chmod", "+x", "./bootstrap.sh"]
HEALTHCHECK --interval=30s --retries=3 --timeout=1s \ 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"] CMD ["./bootstrap.sh"]