Sign inSign up

cometkim/flybook-onbuild

By cometkim

Updated about 9 years ago

Docker onbuild image for using Flybook

Image
0

245

cometkim/flybook-onbuild repository overview

What is Flybook?

Flybook is a static site generator for documentation.

How to use this image?

Requirements

  • Docker 17.05+ (for multi-stage build)
  • package.json (See here)
  • docs (See here)

When you build from this image, Flaybook will generate static files to /out.

Then you can use multi-stage build to create a lightweight image can publish outputs without build environments.

See an example:

FROM cometkim/flybook-onbuild:latest AS build-env

FROM nginx:latest
COPY --from=build-env /out /usr/share/nginx/html

Tag summary

Content type

Image

Digest

Size

263.4 MB

Last updated

about 9 years ago

docker pull cometkim/flybook-onbuild