From e18c097347d87423d40d78b3d781696061ff1f0f Mon Sep 17 00:00:00 2001 From: WarlaxZ Date: Tue, 12 Jun 2018 14:51:10 +0100 Subject: [PATCH] Update Dockerfile --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index ef131d7..ff027b5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:edge +RUN apk add --no-cache --update curl COPY build.sh /build.sh RUN /build.sh @@ -12,4 +13,5 @@ VOLUME /config VOLUME /media COPY entrypoint.sh /entrypoint.sh +HEALTHCHECK --interval=15s --timeout=15s --start-period=20s CMD curl -f http://localhost:8096/emby/system/info/public?format=json || exit 1 ENTRYPOINT ["/entrypoint.sh"]