https://github.com/ryym/docker-hugo
https://github.com/ryym/docker-hugo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryym/docker-hugo
- Owner: ryym
- License: mit
- Created: 2019-12-02T13:54:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T00:59:43.000Z (over 3 years ago)
- Last Synced: 2025-03-10T20:44:49.687Z (about 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A lightweight Docker image hosting [Hugo](https://gohugo.io/) on [alpine][docker-alpine] image.
[docker-alpine]: https://hub.docker.com/_/alpine
## Usage example
Build:
```bash
docker run --rm -v `pwd`:/site -w /site ryym/hugo hugo
```
Develop:
```bash
docker run --rm -v `pwd`:/site -w /site -p 1313:1313 ryym/hugo hugo serve --bind=0.0.0.0
```