Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update root dir to allow to call script from repo root (#2255)

Leendert de Borstb341eecb6d26
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