Public | Automated Build

Last pushed: 13 days ago
Short Description
mdBook
Full Description

docker-mdbook

Dockerfile to build a container image enclosing mdBook.

Usage

cd /path/to/book
docker run --rm -v $(pwd):/data -it hrektts/mdbook mdbook init
docker run --rm -v $(pwd):/data -it hrektts/mdbook mdbook build
docker run -p 3000:3000 --rm -v $(pwd):/data -it hrektts/mdbook mdbook serve -p 3000 -i 0.0.0.0

When you run these command, the book is served at http://localhost:3000 .

Docker Pull Command
Owner
hrektts
Source Repository

Comments (0)