Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cometkim/flybook-onbuild
Docker onbuild image for using flybook
https://github.com/cometkim/flybook-onbuild
docker-image documentation
Last synced: 28 days ago
JSON representation
Docker onbuild image for using flybook
- Host: GitHub
- URL: https://github.com/cometkim/flybook-onbuild
- Owner: cometkim
- License: mit
- Created: 2017-08-18T15:51:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T03:14:29.000Z (over 4 years ago)
- Last Synced: 2024-05-01T15:33:33.061Z (6 months ago)
- Topics: docker-image, documentation
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is Flybook?
[Flybook](https://flybook.js.org) is a static site generator for documentation.# How to use this image?
Requirements
* Docker 17.05+ (for multi-stage build)
* package.json (See [here](https://flybook.js.org/basic/configuration.html))
* docs (See [here](https://flybook.js.org/basic/getting-started.html))When you build from this image, Flaybook will generate static files to `/out`.
Then you can use [multi-stage build](https://docs.docker.com/engine/userguide/eng-image/multistage-build) to create a lightweight image can publish outputs without build environments.
See an example:
```Dockerfile
FROM cometkim/flybook-onbuild:latest AS build-envFROM nginx:latest
COPY --from=build-env /out /usr/share/nginx/html
```