diff options
author | Joe Chen <jc@unknwon.io> | 2022-01-20 16:11:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 16:11:35 +0800 |
commit | dfe8fbde8449bc709e5d0bf6657fd356ebbf1fd9 (patch) | |
tree | 1fa4f6f8ae1e94318458cee9cd8527848bcd777e | |
parent | 3a5ccc18cff06e51da185e130ede5b5b722d1589 (diff) |
docker: remove healthcheck against the SSH port (#6742)
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/"] |