mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-23 03:24:27 +03:00
10 lines
263 B
Docker
10 lines
263 B
Docker
FROM alpine
|
|
MAINTAINER Philipp C. Heckel <philipp.heckel@gmail.com>
|
|
|
|
COPY ntfy /usr/bin
|
|
|
|
HEALTHCHECK --interval=60s --timeout=10s CMD wget -q --tries=1 http://localhost/v1/health -O - | grep -Eo '"healthy"\s*:\s*true' || exit 1
|
|
|
|
EXPOSE 80/tcp
|
|
ENTRYPOINT ["ntfy"]
|