Skip to content

jackliusr/hugo-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Builder

Dockerfile for a container image intended to run the Hugo static site generator with Asciidoctor. It is expected that syntax highlighting will rely on [highlight.js].

This image also packs asciidoctor-diagram to generate plantuml diagrams among others.

Use by running the following from within a Hugo project directory:

docker run --rm -v $PWD:/src bric3/hugo-builder hugo --buildDrafts

Or serve the files (--bind=0.0.0.0 is necessary)

docker run --rm --volume $PWD:/src --publish "0.0.0.0:1313:1313" bric3/hugo-builder hugo serve --bind=0.0.0.0 --baseUrl=blog.local --buildDrafts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 93.0%
  • Makefile 7.0%