From 82ee732ef396b89c5963cfc9e496a4ecbc14deac Mon Sep 17 00:00:00 2001 From: Flnal <74874325+Flnal@users.noreply.github.com> Date: Mon, 8 May 2023 16:13:29 +0200 Subject: [PATCH] =?UTF-8?q?file=20gel=C3=B6scht=20und=20neu=20eingef=C3=BC?= =?UTF-8?q?gt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/myaktion/docker-entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/myaktion/docker-entrypoint.sh b/src/myaktion/docker-entrypoint.sh index 69946c0..3c8f59c 100644 --- a/src/myaktion/docker-entrypoint.sh +++ b/src/myaktion/docker-entrypoint.sh @@ -1,10 +1,12 @@ #!/bin/sh +# Abort on any error (including if wait-for-it fails). set -e # Wait for DB if [ -n "$DB_CONNECT" ]; then /go/src/app/wait-for-it.sh "$DB_CONNECT" -t 20 fi + # Run the main container command. exec "$@" \ No newline at end of file -- GitLab