From b560ff1c1cab7ab54ba1b9f23b9a961f41b95d57 Mon Sep 17 00:00:00 2001 From: paprykdev <58005447+paprykdev@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:50:38 +0100 Subject: [PATCH] fix: update docker workflow to build image using start.py instead of docker compose --- .github/workflows/docker-image.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 260d141..1133203 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -12,9 +12,5 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Docker compose up - run: docker compose -f app/docker-compose.yaml up -d - - name: Start main.py - run: docker exec -it webscraper python main.py - - name: Docker compose down - run: docker compose -f app/docker-compose.yaml down + - name: Build the Docker image + run: python3 scripts/start.py