Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
fomalhautb committed Dec 14, 2024
1 parent cd5c0e2 commit e0b5095
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/docker-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@ jobs:
- name: Build Docker image
run: docker build -f docker/server/Dockerfile -t server .

- name: Run Docker container
run: docker run --env-file docker/server/.env.example -p 8101:8101 -p 8102:8102 -d server

- name: Check container logs and wait for server
- name: Run Docker container and check logs
run: |
container_id=$(docker ps -q)
container_id=$(docker run --env-file docker/server/.env.example -p 8101:8101 -p 8102:8102 -d server)
echo "Container ID: $container_id"
echo "Waiting for server to start..."
sleep 10
Expand Down

0 comments on commit e0b5095

Please sign in to comment.