Skip to content

Commit

Permalink
[CI] fix docker build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
markets committed Sep 22, 2024
1 parent 9868a0b commit 59d0605
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 59d0605

Please sign in to comment.