Skip to content

Commit

Permalink
add -d flag to docker-compose up
Browse files Browse the repository at this point in the history
  • Loading branch information
BraunRudolf committed Jul 27, 2024
1 parent 5ef5ed6 commit ea7b64d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea7b64d

Please sign in to comment.