mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
add docker run details
Doesn't run under py3 :/ Signed-off-by: ted <ted@timmons.me>
This commit is contained in:
@@ -53,4 +53,12 @@ Please make sure you fork the repo and change the clone URL in the example below
|
||||
mkdocs serve --dev-addr 0.0.0.0:8000
|
||||
```
|
||||
|
||||
After these commands, the currently checked out branch is accessible through your favorite browser at http://localhost:8000
|
||||
- Docker instructions:
|
||||
- One-shot run:
|
||||
```bash
|
||||
docker run -v `pwd`:/opt/app/ -w /opt/app/ -p 8000:8000 -it python:2-alpine \
|
||||
sh -c "pip install --user mkdocs mkdocs-material markdown-include && \
|
||||
/root/.local/bin/mkdocs serve --dev-addr 0.0.0.0:8000"
|
||||
```
|
||||
|
||||
After these commands, the current branch is accessible through your favorite browser at http://localhost:8000
|
||||
|
||||
Reference in New Issue
Block a user