From ef02cc8ab3dda80c26ec236b05b8554ecd768139 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Thu, 14 Apr 2016 07:02:28 +0200 Subject: [PATCH] Add basic build and run information --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..65a01f0 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# How to build & run + +## build +`docker build --tag=$(basename $PWD) .` + +## run in development +`docker run --name rollerverbrauch -ti -v `pwd`/app:/app -p 5000:5000 rollerverbrauch` + +## run in production +`docker run --name pitstops -d -v /data/pitstops/:/data -p 80:5000 rollerverbrauch` \ No newline at end of file