add docker run details

Doesn't run under py3 :/

Signed-off-by: ted <ted@timmons.me>
This commit is contained in:
ted
2019-05-12 12:28:03 -07:00
parent 4a5164169e
commit 0c4bafd299
+9 -1
View File
@@ -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