Sign inSign up

zeroplusx/middleman

By zeroplusx

•Updated almost 6 years ago

Ruby/Bundler/Middleman image for generating static websites

Image
0

1.4K

zeroplusx/middleman repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

104.3 MB

Last updated

almost 6 years ago

docker pull zeroplusx/middleman