diff --git a/.gitignore b/.gitignore index 7ba6d73..a3756c9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ dist **/*.svg **/report.html .coverage -htmlcov \ No newline at end of file +htmlcov +**/*.log \ No newline at end of file diff --git a/README.md b/README.md index ae455f2..33945ff 100644 --- a/README.md +++ b/README.md @@ -350,16 +350,10 @@ width,height,url,size,nodes,requests,grade,score,ges,water,date,page_type ## Docker -You can use this application in a docker container. You can build the image with the following command: +You can use this application in a docker container. You can simply run the container with the following command: ```bash -docker build -t ecoindex-cli . -``` - -And then you can run the container with the following command: - -```bash -docker run -it --rm --user $(id -u):$(id -g) -v $(pwd)/output:/tmp/ecoindex-cli/output ecoindex-cli:latest ecoindex-cli analyze --url https://www.ecoindex.fr --recursive --html-report +docker run -it --rm -v /tmp/ecoindex-cli:/tmp/ecoindex-cli ecoindex-cli:latest ecoindex-cli analyze --url https://www.ecoindex.fr --recursive --html-report ``` ### Fields description diff --git a/pyproject.toml b/pyproject.toml index 0d8959b..b2790cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ecoindex-cli" -version = "2.17.1" +version = "2.18.0" description = "`ecoindex-cli` is a CLI tool that let you make ecoindex tests on given pages" authors = ["Vincent Vatelot "] license = "MIT"