Update docker instructions. (#372)

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>

Co-authored-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Dan Schaper
2020-08-26 15:34:49 -07:00
committed by GitHub
parent e6ddad614f
commit dc93945f35

View File

@@ -65,8 +65,11 @@ Please make sure you fork the repo and change the clone URL in the example below
- One-shot run:
```bash
docker run -v `pwd`:/opt/app/ -w /opt/app/ -p 8000:8000 -it python:2-alpine \
docker run -v `pwd`:/opt/app/ -w /opt/app/ -p 8000:8000 -it nikolaik/python-nodejs:python3.7-nodejs12 \
sh -c "pip install --user -r requirements.txt && \
/root/.local/bin/mkdocs build && \
npm ci && \
npm test && \
/root/.local/bin/mkdocs serve --dev-addr 0.0.0.0:8000"
```