Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Docker Container

Installation

docker pull ghcr.io/honkit/honkit

Usage

Show help

$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it ghcr.io/honkit/honkit honkit --help

Build

$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it ghcr.io/honkit/honkit honkit build

PDF build

$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it ghcr.io/honkit/honkit honkit pdf

Serve on port 4000

$ docker run -it --init -p 4000:4000  -v `pwd`:`pwd` -w `pwd` --rm  ghcr.io/honkit/honkit honkit serve

Tips

Custom Font

You can create new image includes custom font based on honkit image.

FROM ghcr.io/honkit/honkit:latest
LABEL maintainer="your@example.com"

# Install fonts
COPY fonts/custom-font /usr/share/fonts