Skip to content
/ hugo Public

Docker image for running the "hugo" static website generator inside of docker, both as your own non-root user and with access to your current working directory.

Notifications You must be signed in to change notification settings

cliwrap/hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Docker image for running the "hugo" static website generator inside of docker, both as your own non-root user and with access to your current working directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published