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
Some checks failed
Docker Image CI / build (push) Has been cancelled
This commit is contained in:
parent
aa12ff726e
commit
b560ff1c1c
8
.github/workflows/docker-image.yml
vendored
8
.github/workflows/docker-image.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user