Fix: healthcheck cmd use WEB_PORT build arg
This commit is contained in:
parent
158c381ac4
commit
f28b44b7fd
@ -57,7 +57,7 @@ LABEL maintainer="s.zhukovskii@ispsystem.com"
|
|||||||
LABEL me.zhukovsky.logs-collector.version=v${VERSION}
|
LABEL me.zhukovsky.logs-collector.version=v${VERSION}
|
||||||
|
|
||||||
# call the health check endpoint of app
|
# call the health check endpoint of app
|
||||||
HEALTHCHECK CMD curl --fail http://localhost:8000 || exit 1
|
HEALTHCHECK CMD curl --fail http://localhost:${WEB_PORT} || exit 1
|
||||||
|
|
||||||
# run app
|
# run app
|
||||||
ENTRYPOINT [ "sh", "entrypoint.sh" ]
|
ENTRYPOINT [ "sh", "entrypoint.sh" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user