Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heshihao/gitbook

Docker container of gitbook-cli with plugins.

Plugins Included

Usage

Direct Use

# serve
docker run --rm -v "$PWD:/docs" -p 4000:4000 heshihao/gitbook gitbook serve
# build
docker run --rm -v "$PWD:/docs" heshihao/gitbook gitbook build
# pdf
docker run --rm -v "$PWD:/docs" heshihao/gitbook gitbook pdf

As GitLab Runner

Add the following to your .gitlab-ci.yml

before_script:
  - ln -s /plugins/node_modules ${CI_PROJECT_DIR}/node_modules

About

Docker container of gitbook-cli with plugins

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages