From ea7b64d73849baf8887c547677e4879afe34bdf1 Mon Sep 17 00:00:00 2001 From: Rudolf Braun <48672663+BraunRudolf@users.noreply.github.com> Date: Sat, 27 Jul 2024 21:25:10 +0200 Subject: [PATCH] add -d flag to docker-compose up --- .github/workflows/docker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6f9f4bbf..85d07588 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -28,9 +28,8 @@ jobs: NEXT_PUBLIC_ENVIRONMENT: ${{secrets.NEXT_PUBLIC_ENVIRONMENT}} NEXT_PUBLIC_API_URL: ${{secrets.NEXT_PUBLIC_API_URL}} run: | - docker-compose -f docker-compose.prod.yml build - sleep 10 - docker-compose -f docker-compose.prod.yml up --abort-on-container-exit + docker-compose -f docker-compose.prod.yml up -d + sleep 30 - name: Check container status run: docker ps -a