From b341eecb6d261fafca7960d3af7a9d408e6633f6 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Sun, 12 Jul 2026 16:30:18 +0200 Subject: [PATCH] Update root dir to allow to call script from repo root (#2255) --- scripts/start-aio-docker-image.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/start-aio-docker-image.sh b/scripts/start-aio-docker-image.sh index 138311312..5701d4038 100755 --- a/scripts/start-aio-docker-image.sh +++ b/scripts/start-aio-docker-image.sh @@ -1,7 +1,7 @@ #!/bin/bash -# Go to root -cd .. +# Go to root directory +cd "$(dirname "$0")/.." || exit 1 # Build the all-in-one docker image echo "Building all-in-one docker image..." @@ -23,6 +23,3 @@ docker run -d \ -v ./secrets:/secrets \ -v ./certificates:/certificates \ aliasvault-allinone:local - - # Go back to scripts - cd scripts \ No newline at end of file