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 314f564 commit c66a22b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
- name: Build docker image
run: docker build -t dancer .

- 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
- name: Run docker image with entrypoint
run: docker run -d -p 3001:3000 --name dancer_container dancer

- name: Validate container
run: docker container ls

- name: Run curl to ensure endpoint responds
run: curl -i http://localhost:3001

0 comments on commit c66a22b

Please sign in to comment.