mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-06 02:18:26 +02:00
fix: make health check in Dockerfile honor context path setting (#407)
This commit is contained in:
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user