diff --git a/Dockerfile b/Dockerfile index 6916cab..9d9ae9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,7 @@ MAINTAINER Philipp C. Heckel COPY ntfy /usr/bin +HEALTHCHECK --interval=60s --timeout=10s CMD wget --no-verbose --tries=1 --spider http://localhost/config.js || exit 1 + EXPOSE 80/tcp ENTRYPOINT ["ntfy"]