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.