From acd65aac57817671738c9bd8f5f04170e00d4530 Mon Sep 17 00:00:00 2001 From: jcallison1 <152124968+jcallison1@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:16:19 -0500 Subject: [PATCH] Switch to just docker compose build --- .github/workflows/run-tests.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5a35bdf94..f6547395a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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