aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorAlex Zhao <zhaochunqi@users.noreply.github.com>2022-01-13 10:35:24 +0800
committerGitHub <noreply@github.com>2022-01-13 10:35:24 +0800
commitcbe775aee28c0c1b2746460127efe9d7299c4a34 (patch)
tree8dfeaec9cfd38a33dd54ca0f132cc50d9dd79cff /docker
parent5e43fa92ff5d7aa53eec1c7e6756a9adb34a6d45 (diff)
docker: fix nc command (#6722)
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile.rpi2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile.rpi b/docker/Dockerfile.rpi
index bf0941a8..148e22b1 100644
--- a/docker/Dockerfile.rpi
+++ b/docker/Dockerfile.rpi
@@ -40,6 +40,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 (nc -z -w 3 localhost 22 && 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/"]