diff options
| -rwxr-xr-x | ci/startcompose.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/startcompose.sh b/ci/startcompose.sh index 54f0143..fa41949 100755 --- a/ci/startcompose.sh +++ b/ci/startcompose.sh @@ -10,6 +10,8 @@ if [[ -z "${PORTAL_PASS}" ]]; then exit 1 fi +# Get absolute path to current directory this script is in SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -docker-compose --file ci/docker/docker-compose.yml --project-directory $SCRIPT_DIR/.. up --build --force-recreate --abort-on-container-exit +# Get the parent directory to get the root directory +docker-compose --file ci/docker/docker-compose.yml --project-directory "$SCRIPT_DIR"/.. up --build --force-recreate --abort-on-container-exit |
