Skip to content

Commit

Permalink
Update docker instructions. (#372)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Schaper <[email protected]>

Co-authored-by: Adam Warner <[email protected]>
  • Loading branch information
dschaper and PromoFaux authored Aug 26, 2020
1 parent e6ddad6 commit dc93945
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down

0 comments on commit dc93945

Please sign in to comment.