healthcheck fix
This commit is contained in:
parent
40ec940bad
commit
160d389192
@ -2,11 +2,11 @@ FROM alpine:latest
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk --update upgrade && \
|
apk --update upgrade && \
|
||||||
apk add tini pdns pdns-backend-sqlite3
|
apk add tini curl pdns pdns-backend-sqlite3
|
||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --start-period=5s --timeout=10s \
|
HEALTHCHECK --interval=30s --start-period=5s --timeout=10s \
|
||||||
CMD /usr/bin/host -T -p 1053 asperti.com 127.0.0.1
|
CMD curl http://127.0.0.1:8081/metrics
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh", "/app/entrypoint.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh", "/app/entrypoint.sh"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user