Hugo Static Site Generator: https://gitlab.com/fixl/docker-hugo
3.5K
A Docker container that runs your Hugo website.
HUGO_BASE_URL: The base url of your server e.g. https://fixl.infoAdd your content to a docker container based on the hugo image
FROM fixl/hugo
ADD your/site /hugo
Build your new image
docker build --pull --tag ${USER}/my-hugo-website .
Run your new image
docker run -d -p 1313:1313 -e HUGO_BASE_URL=https://<url>md5sum ${USER}/my-hugo-website
make build
docker image inspect fixl/hugo --format '{{ json .Config.Labels }}'
Content type
Image
Digest
Size
54.1 MB
Last updated
almost 6 years ago
docker pull fixl/hugo