From b011f1e8679ec1511a8aa4a68e0f14b4fb2a093e Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Fri, 24 Sep 2021 12:07:35 -0700 Subject: [PATCH] Remove healthcheck The feature was poorly implemented, and offered little value --- Dockerfile | 1 - healthcheck.sh | 8 -------- 2 files changed, 9 deletions(-) delete mode 100644 healthcheck.sh diff --git a/Dockerfile b/Dockerfile index 5c9f41c..fe348b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,5 +12,4 @@ WORKDIR /usr/local/apache2/htdocs/ RUN mkdir download RUN chown -R $PUID:$PGID /usr/local/apache2/htdocs ENV IMG false -HEALTHCHECK --start-period=1m CMD /healthcheck.sh CMD ["/bin/bash","/init.sh"] \ No newline at end of file diff --git a/healthcheck.sh b/healthcheck.sh deleted file mode 100644 index 2f8abe0..0000000 --- a/healthcheck.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while [ $(cat /status) != "INIT" ] -do - sleep 10; -done - -curl --insecure --fail --silent --show-error -I http://localhost:80 > /dev/null || exit 1