mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-02-01 01:10:52 +01:00
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}
|
||||
|
||||
# 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
|
||||
ENTRYPOINT [ "sh", "entrypoint.sh" ]
|
||||
|
Loading…
Reference in New Issue
Block a user