From b26d4ca80dc36948353f1ef88af16b8859e6d890 Mon Sep 17 00:00:00 2001 From: Soham Date: Wed, 2 Oct 2024 15:34:42 +0530 Subject: [PATCH] fix --- .github/workflows/build-and-run.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-run.yml b/.github/workflows/build-and-run.yml index 45801eb..5977756 100644 --- a/.github/workflows/build-and-run.yml +++ b/.github/workflows/build-and-run.yml @@ -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)