Sign inSign up

moul/smashing

By moul

Updated over 3 years ago

Smashing (formerly Dashing) in Docker Based on https://github.com/detached/docker-dashing

Image
0

699

moul/smashing repository overview

Docker Automated buil Docker Stars Docker Pulls

docker-smashing

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

Usage

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.

Build

Run docker build -t mysmashing . in your project folder.

Run

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

Tag summary

Content type

Image

Digest

Size

91.9 MB

Last updated

about 9 years ago

docker pull moul/smashing