Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-hugo-server

HUGO container with using slugbuilder pattern.

You can launch a hugo server from tarball via stdin or from git repository.

BASEURL is determined from hostname in the container.

From git repository:

$ docker run -it --rm -p 1313:1313 -h docker -e GIT_REPO=https://github.com/spf13/spf13.com.git nabeken/docker-hugo-server

From tarball:

$ git archive | gzip | docker run -di -p 1313:1313 -h docker nabeken/docker-hugo-server

Please keep in mind that you can't stop HUGO with C-c with this method.

Docker Pull Command
Owner
nabeken
Source Repository

Comments (0)