Sign inSign up

yeechongyeung/gitbook

By yeechongyeung

Updated about 5 years ago

GitBook

Image
0

83

yeechongyeung/gitbook repository overview

Run

$ docker run -p 80:4000 -v /srv/gitbook yeechongyeung/gitbook:3.2.2

  • 4000 – GitBook default service port.

  • 35729 – Live reload server port.

  • /srv/gitbook – Default working directory for GitBook container.

Build Static Website

$ docker run -v /srv/gitbook -v /srv/html yeechongyeung/gitbook:3.2.2 gitbook build . /srv/html

others

docker run -p 4001:4000 -v "$(pwd)":/srv/gitbook yeechongyeung/gitbook:3.2.2

Tag summary

Content type

Image

Digest

Size

69.1 MB

Last updated

about 5 years ago

docker pull yeechongyeung/gitbook:3.2.2