Smashing (formerly Dashing) in Docker Based on https://github.com/detached/docker-dashing
699
Ship your smashing as docker image!
The dockerfile uses the official ruby:alpine base image to be extremly small. The smashing process will be executed as smashing user, not as root.
Find this image on hub.docker.com.
Based on https://github.com/detached/docker-dashing
Use this image as base for your smashing image.
Create a Dockerfile in the root directory of your smashing project containing one simple line:
FROM moul/smashing
Thats it!
Two ON BUILD hooks will add all your files to the image and execute bundle on your Gemfile.
Run docker build -t mysmashing . in your project folder.
To start your application run
docker run -p 80:8080 mysmashing
To change the port smashing binds to, start the container with additional arguments:
docker run -p 80:6666 mysmashing start -p 6666
Content type
Image
Digest
Size
91.9 MB
Last updated
about 9 years ago
docker pull moul/smashing