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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]