1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-23 11:49:19 +01:00
ntfy/Dockerfile

10 lines
263 B
Text
Raw Permalink Normal View History

FROM alpine
MAINTAINER Philipp C. Heckel <philipp.heckel@gmail.com>
COPY ntfy /usr/bin
2022-12-27 16:40:15 +01:00
HEALTHCHECK --interval=60s --timeout=10s CMD wget -q --tries=1 http://localhost/v1/health -O - | grep -Eo '"healthy"\s*:\s*true' || exit 1
2022-12-23 18:26:21 +01:00
EXPOSE 80/tcp
ENTRYPOINT ["ntfy"]