Sign inSign up

heshihao/gitbook

By heshihao

•Updated over 7 years ago

Docker container of gitbook-cli with plugins.

Image
0

199

heshihao/gitbook repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

500.5 MB

Last updated

over 7 years ago

docker pull heshihao/gitbook