Sign inSign up

tmsmr/hugo-runner

By tmsmr

•Updated over 6 years ago
Archived

Builds and hosts gohugo.io websites with NGINX

Image
0

837

tmsmr/hugo-runner repository overview

⁠hugo-runner

This image can be used to build and host gohugo.io websites statelessly.

You only need to specify HUGO_WEBSITE_REPO for a minimal setup. Example:

docker run --rm -ti -e HUGO_WEBSITE_REPO=https://user:[email protected]/website.git -p 80:80 tmsmr/hugo-runner

For the sake of simplicity only HTTPS remotes are supported.

After an initial build, the run.sh script will pull and build the website every hour.

Overwrite /etc/nginx/nginx.conf if you need to customize NGINX.

Tag summary

Content type

Image

Digest

Size

33.9 MB

Last updated

over 6 years ago

docker pull tmsmr/hugo-runner