fix the hc

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-31 13:01:33 +02:00
parent 900ac1463b
commit 8b9a87b893
2 changed files with 2 additions and 3 deletions

View file

@ -6,6 +6,7 @@ RUN set -ex; \
apk add --no-cache \
ca-certificates \
tzdata \
bash \
bind-tools; \
chmod -R 777 /tmp

View file

@ -1,6 +1,4 @@
#!/bin/bash
nc -z "$NEXTCLOUD_HOST" 9000 || exit 0
if ! nc -z localhost 2375; then
exit 1
fi
nc -z localhost 2375 || exit 1