Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krakerag authored Nov 16, 2023
1 parent 6d4fd47 commit 314f564
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- name: Build docker image
run: docker build -t dancer .

- name: Run docker image with entrypoint
run: docker run -d -p 3001:3000 --name dancer_container dancer

- name: Validate endpoint works
run: curl -i http://localhost:3001
- name: Run docker image with entrypoint and validate container
run: |
docker run -d -p 3001:3000 --name dancer_container dancer
curl -i http://localhost:3001

0 comments on commit 314f564

Please sign in to comment.