fix: update docker workflow to build image using start.py instead of docker compose
Some checks failed
Docker Image CI / build (push) Has been cancelled

This commit is contained in:
patilk 2024-11-16 00:50:38 +01:00
parent aa12ff726e
commit b560ff1c1c
Signed by: s500042
GPG Key ID: 1921AD722E7392EE

View File

@ -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