Adding --detach option to the command

This commit is contained in:
Maxime Hélias
2023-10-02 10:52:32 +02:00
committed by Maxime Helias
parent 12a36a74f5
commit d620a5102a
4 changed files with 10 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
composer config --json extra.symfony.docker 'true'
if grep -q ^DATABASE_URL= .env; then
echo "To finish the installation please press Ctrl+C to stop Docker Compose and run: docker compose up --build --wait"
echo "To finish the installation please press Ctrl+C to stop Docker Compose and run: docker compose up --build -d --wait"
sleep infinity
fi
fi