Skip to content

krolow/docker-gohugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

docker-gohugo

Docker image for hugo static site generator based on alpine.

Run docker image

docker run --rm -p 1313:1313 -v $(pwd):/root/hugo krolow/gohugo serve --bind=0.0.0.0

Run hugo command

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

Features

License

Licensed under The MIT License Redistributions of files must retain the above copyright notice.

Author

Vinícius Krolow - krolow[at]gmail.com