docker pull honkit/honkit
Show help
$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it honkit/honkit honkit --help
Build
$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it honkit/honkit honkit build
PDF build
$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it honkit/honkit honkit pdf
Serve on port 4000
$ docker run -it --init -p 4000:4000 -v `pwd`:`pwd` -w `pwd` --rm honkit/honkit honkit serve
You can create new image includes custom font based on honkit image.
FROM honkit/honkit:latest
LABEL maintainer="[email protected]"
# Install fonts
COPY fonts/custom-font /usr/share/fonts