From 1f67879fbe5c23916627ac4c38f504e26504d44c Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 15 Jun 2022 16:25:24 -0600 Subject: [PATCH] Possibly this chain style works? --- install/docker-linux.sh | 7 ++----- install/docker-windows.bat | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/install/docker-linux.sh b/install/docker-linux.sh index 3c88eeb..6a4d3a3 100755 --- a/install/docker-linux.sh +++ b/install/docker-linux.sh @@ -22,11 +22,8 @@ read -n 1 -s -r -p "Press any key to continue..." echo Running setup... -# Bring up the container -docker compose up - -# Restart the container when setup complete -docker compose restart +# Bring up the container and run the setup +docker compose up -d && docker compose exec ass npm run setup && docker compose restart # Done! echo "ass-docker for Linux installed!" diff --git a/install/docker-windows.bat b/install/docker-windows.bat index 66dc401..34cce34 100644 --- a/install/docker-windows.bat +++ b/install/docker-windows.bat @@ -19,11 +19,8 @@ PAUSE ECHO Running setup... -REM Bring up the container -docker compose up - -REM Restart the container when setup complete -docker compose restart +REM Bring up the container and run the setup +docker compose up -d && docker compose exec ass npm run setup && docker compose restart REM Done! ECHO ass-docker for Windows installed!