Skip to content

Add a docker build option to the 'How to contribute' wiki #656

Open
@graue70

Description

@graue70

By running the command docker run --rm -v "$PWD:/gitbook" -p 4000:4000 billryan/gitbook gitbook install && gitbook serve one can entirely circumvent installing node.js and gitbook. Maybe this should be added as an alternative to the wiki explaining how to contribute?

The command is probably not perfect as one needs to install everytime one wants to serve which increases build time. I didn't quickly find a way around that. Maybe somebody else can?

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralHacktoberfestThe label for all Hacktoberfest related things!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions