Skip to content

Commit

Permalink
dockerfile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Jul 10, 2024
1 parent 32c16ac commit 1a5f694
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
dotnet-version: 6.0.x

- name: Start containers
run: docker compose -f "docker-compose.yml" up -d && sleep 20 #allow time for mongo to start up properly
run: dotnet build && docker compose -f "docker-compose.yml" up -d && sleep 20 #allow time for mongo to start up properly

- name: Debug network
run: docker ps -a && docker logs --since 10m serval_cntr && docker logs --since 10m echo_cntr && docker logs --since 10m machine-engine-cntr && docker logs --since 10m serval-mongo-1 && docker logs --since 10m machine-job-cntr
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ services:
hostname: machine-engine
container_name: machine-engine-cntr
build:
context: ${MACHINE_TESTING_DIR:-../machine}
context: .
dockerfile: dockerfile.development

environment:
Expand Down Expand Up @@ -121,7 +121,7 @@ services:
hostname: machine-job-server
container_name: machine-job-cntr
build:
context: ${MACHINE_TESTING_DIR:-../machine}
context: .
dockerfile: dockerfile.development
environment:
- ASPNETCORE_ENVIRONMENT=Staging
Expand Down

0 comments on commit 1a5f694

Please sign in to comment.