From 59d0605c3cb891f9fb3d4921c4161360e0464e93 Mon Sep 17 00:00:00 2001 From: Marc Anguera Insa Date: Sun, 22 Sep 2024 13:08:35 +0200 Subject: [PATCH] [CI] fix docker build workflow --- .github/workflows/docker_build.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index ad058acc..d5ace27f 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -10,7 +10,7 @@ jobs: - name: Build docker run: docker build . - name: Test docker compose - run: docker-compose up -d + run: docker compose up -d - run: sleep 15 # wait for the server to start - name: Check server is up run: curl -s http://localhost:3000 diff --git a/README.md b/README.md index 8cc6d8fb..f651abb0 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ This site is ready to be deployed in production with an optimized Docker image w You can locally test the production deployment by the include docker-compose.yml file: ```bash -docker-compose up +docker compose up ``` The first time running it will build the image and setup the database along with some seeds in it (testing data). If the database already exists, it will run migrations (if needed) and just start the application.