helm / helm-www

The Helm website for docs, blog and project info.
https://helm.sh
MIT License
204 stars 514 forks source link

Add Dockerfile and .dockerignore with targets in Makefile #1644

Open Andygol opened 2 weeks ago

Andygol commented 2 weeks ago

Resolve: #1591

This PR adds serve, image and image-run targets to the Makefile. This allows you to build and run a container locally with the latest Hugo version to serve the Helm documentation.

Use make image to build the container locally. make image-run [target] allows you to run specific targets from the Makefile using the container; running make image-run is the same as make image-run serve, it runs Hugo in the container to serve the documentation locally.

In case you already have Hugo installed, feel free to use it with the make serve target.

TerryHowe commented 2 weeks ago

Trivy scan of that image right now:

Total: 4 (UNKNOWN: 0, LOW: 3, MEDIUM: 1, HIGH: 0, CRITICAL: 0)

Owner is https://github.com/razonyang