An open API service indexing awesome lists of open source software.

https://github.com/krolow/docker-gohugo

Docker image for hugo static site generator (gohugo)
https://github.com/krolow/docker-gohugo

docker-container docker-image hugo

Last synced: 3 months ago
JSON representation

Docker image for hugo static site generator (gohugo)

Awesome Lists containing this project

README

          

# docker-gohugo

Docker image for [hugo static site generator](http://gohugo.io) based on [alpine](http://www.alpinelinux.org/).

#### 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](https://github.com/krolow/docker-gohugo/blob/master/hugo) 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:

```bash
hugo serve
```

or can point out the folder

```bash
hugo /home/krolow/myproject/ serve -w
```

```bash
hugo help
```

### Features

* [Highlight support by Pygments](https://gohugo.io/extras/highlighting/)
* Bash (if you want to write inside docker)
* Hugo script to exec as it was directly in host

## License

Licensed under [The MIT License](http://krolow.mit-license.org/)
Redistributions of files must retain the above copyright notice.

## Author

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