mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
use netcat for healthchecks
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
ac06db59c7
commit
95311fd7c3
6 changed files with 10 additions and 8 deletions
|
|
@ -9,9 +9,10 @@ RUN set -ex; \
|
|||
export DEBIAN_FRONTEND=noninteractive; \
|
||||
apt-get install -y --no-install-recommends \
|
||||
tzdata \
|
||||
netcat \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
USER 104
|
||||
|
||||
HEALTHCHECK CMD curl -skfI localhost:9980 || exit 1
|
||||
HEALTHCHECK CMD nc -z localhost 9980 || exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue