fix healtcheck

This commit is contained in:
Giuseppe Marino 2020-11-11 18:14:25 +01:00
parent fc0a6e10cc
commit 8f05c65bdc
No known key found for this signature in database
GPG Key ID: 2BC70C5463357449
1 changed files with 1 additions and 1 deletions

View File

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