An image for running Middleman through Docker.
601
You can use this image just as a platform-agnostic replacement for the middleman cli.
To use the image, first build it locally:
docker build -t middleman .
Now, run the image to access the newly created binary. For instance, here's how we could
run the middleman help command:
docker run --rm middleman --help
You can also have the container run commands that influence your local host. For instance,
here's how you create a new middleman site in a local project folder:
docker run --rm -v project:/project:rw -w /project middleman init
Want to rebuild your project? You can do that too!
docker run --rm -v project:/project:rw -w /project middleman build
How about watching the project for changes? Done!
docker run --rm -v project:/project:rw -w /project middleman serve
Now you can hit up your local Docker host over port 80 and behold- the web app!
Content type
Image
Digest
Size
229.1 MB
Last updated
over 10 years ago
docker pull omniprojects/middleman-docker:1.1.1