Skip to content

Commit

Permalink
use default docker-compose.yml filename
Browse files Browse the repository at this point in the history
this also updates the instructions to use docker compose v2
(as opposed to docker-compose, which is v1):
https://docs.docker.com/compose/migrate/#docker-compose-vs-docker-compose
  • Loading branch information
raylu committed Jun 29, 2023
1 parent 0d8cd2c commit def701b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,17 @@ Have a look at our contributing guidelines [here](/CONTRIBUTING.md).


# Working with Docker
With the current Dockerfile and Docker compose, you can build everything with:

- Run the web server:
```bash
docker-compose -f docker-compose.dev.yml build
docker compose up app
```

Then, you can
- Run the web server with:
```bash
docker-compose -f docker-compose.dev.yml up app
```
- Run ruff checks with:
- Run ruff checks:
```bash
docker-compose -f docker-compose.dev.yml run --rm ruff
docker compose run --rm ruff
```
- Launch the container cli (for ewample to update translations):
- Launch the container CLI (for ewample to update translations):
```bash
docker-compose -f docker-compose.dev.yml run --rm cli
docker compose run --rm cli
```

File renamed without changes.

0 comments on commit def701b

Please sign in to comment.