summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorÜlgen Sarıkavak <ulgensrkvk@gmail.com>2025-01-23 01:16:08 +0300
committerBaptiste Mispelon <bmispelon@gmail.com>2025-01-23 13:06:14 +0100
commit5f9764f27d5f28d3d45f851eff1a2d6c79d867fc (patch)
tree3334343ac9f0086e08663fd6207cb9a994c3562c /README.rst
parent87cc4de75bccaf1fb1f5d2b33949b5633ff08a37 (diff)
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
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index a43691aa..1fc4d0f1 100644
--- a/README.rst
+++ b/README.rst
@@ -365,8 +365,8 @@ Running Locally with Docker
4. Run the tests::
- docker compose exec web tox
- docker compose exec web python -m manage test
+ docker compose run --rm web tox
+ docker compose run --rm web python -m manage test
Pre-commit checks
-----------------