From b9d9c66a62b32908d404a33dc8215cbdefcbb694 Mon Sep 17 00:00:00 2001 From: Reid Hewitt Date: Mon, 22 Apr 2024 17:34:19 -0600 Subject: [PATCH] add docker compose --- .github/workflows/deploy.yml | 2 +- docker-compose.yml | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a4eb2ca..3106709 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: - name: Install Dependencies run: npm i - name: Run App - run: npm run dev + run: docker compose up -d - name: 'Cypress run' uses: cypress-io/github-action@v5 build: diff --git a/docker-compose.yml b/docker-compose.yml index 29eb40a..9c1dcb0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,13 +9,4 @@ services: - '3000:3000' volumes: - .:/app - - /app/node_modules - test: - image: cypress/included:13.7.1 - entrypoint: [] - command: /bin/bash -c "npx wait-on http://localhost/3000 && cypress run" - working_dir: /e2e - volumes: - - ./e2e:/e2e - depends_on: - - app \ No newline at end of file + - /app/node_modules \ No newline at end of file