Sign inSign up

fixl/hugo

By fixl

•Updated almost 6 years ago

Hugo Static Site Generator: https://gitlab.com/fixl/docker-hugo

Image
0

3.5K

fixl/hugo repository overview

⁠Hugo Docker Image

pipeline status layers version Docker Pulls

A Docker container that runs your Hugo⁠ website.

⁠Environment Variables

  • HUGO_BASE_URL: The base url of your server e.g. https://fixl.info

⁠Usage

Add 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

⁠Build the image

make build

⁠Check metadata

docker image inspect fixl/hugo --format '{{ json .Config.Labels }}'

Tag summary

Content type

Image

Digest

Size

54.1 MB

Last updated

almost 6 years ago

docker pull fixl/hugo