This is a custom Docker container for my Hugo setup. It is build from the Debian stable-slim container and includes everything needed including pygments
To pull the image run:
❯ docker pull dpnl87/hugo-docker:latest
If you want to check the hugo version you can use:
❯ docker run dpnl87/hugo-docker:latest hugo version
Hugo Static Site Generator v0.55.5-A83256B9 linux/amd64 BuildDate: 2019-05-02T13:03:36Z
To run a Hugo development server you can run:
❯ docker run --rm --name danielpaulus.com -v "$(pwd)":/usr/share/blog -p 1313:1313 dpnl87/hugo-docker:latest hugo server -D -b http://localhost:1313 --bind=0.0.0.0