From d7e2efde5c08eedd03fdf3b5eafd02311c74304f Mon Sep 17 00:00:00 2001 From: Lazarus Lazaridis Date: Sun, 5 Nov 2017 23:58:47 +0200 Subject: [PATCH] Add docker instructions to README. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a972e3a..c34e0b0 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,18 @@ give you access to the parameters with: The application is by default configured to use sqlite3. If you want to use another configuration, update the config/database.yml accordingly to match your setup. +## Docker + +A docker image is available at docker hub under [iridakos/duckrails](https://hub.docker.com/r/iridakos/duckrails/). + +To obtain the image use: + +`docker pull iridakos/duckrails` + +To start the application and bind it to a port (ex. 4000) use: + +`docker run -p 4000:80 iridakos/duckrails:latest` + ## Contributing 1. Fork it ( https://github.com/iridakos/duckrails/fork )