Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 386 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 386 Bytes

docker-hugo

A docker image with Hugo, the static site generator, and NPM for asset compilation.

Intended usage

# Build site
hugo --gc --minify

Example run

docker run -v $(pwd):/site ghcr.io/t-richards/hugo hugo --gc public/

Building this image

docker build -t ghcr.io/t-richards/hugo .