A docker image with Hugo, the static site generator, and NPM for asset compilation.
# Build site
hugo --gc --minify
docker run -v $(pwd):/site ghcr.io/t-richards/hugo hugo --gc public/
docker build -t ghcr.io/t-richards/hugo .
A docker image with Hugo, the static site generator, and NPM for asset compilation.
# Build site
hugo --gc --minify
docker run -v $(pwd):/site ghcr.io/t-richards/hugo hugo --gc public/
docker build -t ghcr.io/t-richards/hugo .