From 0965e9f27dbd0c2179e28071a5f2f5a86d617d46 Mon Sep 17 00:00:00 2001 From: "R.J. Osborne" Date: Sun, 17 May 2015 15:47:15 -0400 Subject: [PATCH] Added example of how to mount the active work and do development inside the Docker image --- README.rdoc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.rdoc b/README.rdoc index 2999797..2808d7a 100644 --- a/README.rdoc +++ b/README.rdoc @@ -22,14 +22,11 @@ Development details: Docker instructions: -* Building the image -``` -docker build -t wrestling . -``` -* Running the image (as development) -``` -docker run -it --rm -p 3000:3000 wrestling -``` +* Building the image docker build -t wrestling . + +* Running the image (as development) docker run -it --rm -p 3000:3000 wrestling + +* Developing in docker by mapping your work directory docker run -it -p 3000:3000 -v /Your/path/to/wrestlingApp:/wrestlingApp --rm wrestling /bin/bash What the app does now: