Sign inSign up

thomaschln/gitbook

By thomaschln

•Updated over 8 years ago

Gitbook docker image automatically updated

Image
0

1.2K

thomaschln/gitbook repository overview

⁠GitBook Image

Run container:

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

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 thomaschln/gitbook gitbook build . /srv/html

⁠Build PDF

$ docker run -v /srv/gitbook -v /srv thomaschln/gitbook gitbook pdf . /srv/doc.pdf

GitHub: GitBook⁠

GitBook Toolchain Documentation⁠

Tag summary

Content type

Image

Digest

Size

346.3 MB

Last updated

over 8 years ago

docker pull thomaschln/gitbook