Skip to content

Latest commit

 

History

History

middleman

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

middleman

Ruby/Bundler/Middleman Docker image for generating static websites, based on Alpine Linux.

Usage

While being at the root of your Middleman project (where you would normally run middleman), run any middleman command, for example:

# middleman build
docker run --rm -v $(pwd):/src zeroplusx/middleman build

# middleman server + open localhost URL in your browser when ready
docker run --rm -p 4567:4567 -v $(pwd):/src zeroplusx/middleman server | awk '/View your site at/ {system("open http://localhost:4567")}'

When you are done, just press CTRL+C and it will close and remove the Docker container.

Maintainers