mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-24 19:55:52 +01:00
fix healtcheck
This commit is contained in:
parent
fc0a6e10cc
commit
8f05c65bdc
@ -31,6 +31,6 @@ RUN addgroup -g 101 -S telegram-bot-api \
|
||||
&& chown telegram-bot-api:telegram-bot-api ${TELEGRAM_LOGS_DIR} ${TELEGRAM_WORK_DIR} \
|
||||
&& chown nobody:nobody /tmp/telegram-bot-api
|
||||
|
||||
HEALTHCHECK CMD curl -f http://localhost:8081/ || exit 1
|
||||
HEALTHCHECK CMD curl -f http://localhost:8082/ || exit 1
|
||||
EXPOSE 8081/tcp 8082/tcp
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user