From dfe8fbde8449bc709e5d0bf6657fd356ebbf1fd9 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Thu, 20 Jan 2022 16:11:35 +0800 Subject: docker: remove healthcheck against the SSH port (#6742) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6a527303..094b187b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,6 @@ RUN ./docker/finalize.sh # Configure Docker Container VOLUME ["/data", "/backup"] EXPOSE 22 3000 -HEALTHCHECK CMD (nc -z -w 3 localhost 22 && curl -o /dev/null -sS http://localhost:3000/healthcheck) || exit 1 +HEALTHCHECK CMD (curl -o /dev/null -sS http://localhost:3000/healthcheck) || exit 1 ENTRYPOINT ["/app/gogs/docker/start.sh"] CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"] -- cgit v1.2.3