Docker image for hugo static site generator based on alpine.
docker run --rm -p 1313:1313 -v $(pwd):/root/hugo krolow/gohugo serve --bind=0.0.0.0
To be more easy to run i have created one bash script to make life easy...
Once you have download the bash script, and have set to be in your bin path, you can exec as above:
hugo serve
or can point out the folder
hugo /home/krolow/myproject/ serve -w
hugo help
- Highlight support by Pygments
- Bash (if you want to write inside docker)
- Hugo script to exec as it was directly in host
Licensed under The MIT License Redistributions of files must retain the above copyright notice.
Vinícius Krolow - krolow[at]gmail.com