Dockerfile 263 B

123456789
  1. FROM alpine
  2. MAINTAINER Philipp C. Heckel <philipp.heckel@gmail.com>
  3. COPY ntfy /usr/bin
  4. HEALTHCHECK --interval=60s --timeout=10s CMD wget -q --tries=1 http://localhost/v1/health -O - | grep -Eo '"healthy"\s*:\s*true' || exit 1
  5. EXPOSE 80/tcp
  6. ENTRYPOINT ["ntfy"]