Skip to content

Commit

Permalink
Switch to just docker compose build
Browse files Browse the repository at this point in the history
  • Loading branch information
jcallison1 committed Sep 27, 2024
1 parent 61a2986 commit acd65aa
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,14 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Build backend
uses: docker/bake-action@v5
with:
targets: backend
push: false
load: true
run: docker compose build backend

- name: Start backend
run: |
docker images
docker compose up -d backend
docker compose up --no-build -d backend
sleep 5
curl -v 'http://127.0.0.1:5050/api'
# - name: Start backend
# run: |
# cd BackEndFlask
# python setupEnv.py -d
# python setupEnv.py -s &
# for attempt in {1..20}; do sleep 1; if curl 'http://localhost:5050/api'; then echo ready; break; fi; echo waiting...; done

- name: Install Node dependencies
run: |
cd FrontEndReact
Expand Down

0 comments on commit acd65aa

Please sign in to comment.