Ship your dashing as docker image!
The dockerfile uses the official ruby:alpine base image to be extremly small.
The dashing process will be executed as dashing user, not as root.
Find this image on hub.docker.com.
Use this image as base for your dashing image.
Create a Dockerfile in the root directory of your dashing project containing one simple line:
ON BUILD hooks will add all your files to the image and execute
bundle on your Gemfile.
docker build -t mydashing . in your project folder.
To start your application run
docker run -p 80:8080 mydashing
To change the port dashing binds to, start the container with additional arguments:
docker run -p 80:6666 mydashing start -p 6666