Skip to content

Commit 5f9764f

Browse files
ulgensbmispelon
authored andcommitted
Use "run --rm" instead of exec for tests in README
* exec requires a running container, "run --rm" starts a new one and deletes when the job is done * exec requires the related container to stay healthy, "run --rm" run things on a separate container
1 parent 87cc4de commit 5f9764f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ Running Locally with Docker
365365

366366
4. Run the tests::
367367

368-
docker compose exec web tox
369-
docker compose exec web python -m manage test
368+
docker compose run --rm web tox
369+
docker compose run --rm web python -m manage test
370370

371371
Pre-commit checks
372372
-----------------

0 commit comments

Comments
 (0)