mirror of
https://github.com/pi-hole/docs.git
synced 2026-02-15 07:26:03 +00:00
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:
@@ -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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user