Sign inSign up

cliwrap/hugo

By cliwrap

Updated over 5 years ago

hugo static website generator with your non-root user and in your current working directory.

Image
0

353

cliwrap/hugo repository overview

Build
Status

Description

This Dockerfile builds a docker image that lets you run the hugo static website generator inside docker, but with your non-root user and in your current working directory.

To do this, you pass a UID and GID as environment variables from outside the container and mount the current directory inside the container.

To download: docker pull cliwrap/hugo

Examples

  • To run hugo in the current directory, use the included shell script hugo

  • To run hugo server: ./hugo server --bind 0.0.0.0

Tag summary

Content type

Image

Digest

Size

37.9 MB

Last updated

over 5 years ago

docker pull cliwrap/hugo