Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soham901 committed Oct 2, 2024
1 parent c5880dd commit b26d4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
run: sudo docker build . --file Dockerfile --tag my-image-name:$(date +%s)
- name: Run the Docker container on port 8000
run: docker run -d -p 8000:8000 my-image-name:$(date +%s)
run: sudo docker run -d -p 8000:8000 my-image-name:$(date +%s)

0 comments on commit b26d4ca

Please sign in to comment.