diff --git a/index/readme.md b/index/readme.md index d66b4d6..1e5def6 100644 --- a/index/readme.md +++ b/index/readme.md @@ -18,7 +18,7 @@ pip-compile --upgrade --output-file constraints.txt --strip-extras requirements. To minimise version changes, update using the existing image (run from index folder): ``` -docker run -v $(pwd):/datacube-index/ -w /datacube-index -it opendatacube/datacube-index bash -c "python3 -m pip install pip-tools && pip-compile --upgrade --output-file constraints.txt --strip-extras requirements.txt" +docker run --rm -v $(pwd):/datacube-index/ -w /datacube-index -it opendatacube/datacube-index bash -c "python3 -m pip install pip-tools && pip-compile --upgrade --output-file constraints.txt --strip-extras requirements.txt" ```