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.
Content type
Image
Digest
sha256:798f4a955…
Size
229.9 MB
Last updated
almost 11 years ago
docker pull nabeken/docker-hugo-server