From 4fe73b91bc1c1df9f0cf16268ed583a1acb73db8 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Sat, 18 Apr 2015 10:05:32 -0400 Subject: [PATCH] move docker launch scripts to docker folder --- launch-devel.sh => docker/launch-devel.sh | 2 ++ launch-production.sh => docker/launch-production.sh | 2 ++ 2 files changed, 4 insertions(+) rename launch-devel.sh => docker/launch-devel.sh (93%) mode change 100755 => 100644 rename launch-production.sh => docker/launch-production.sh (93%) mode change 100755 => 100644 diff --git a/launch-devel.sh b/docker/launch-devel.sh old mode 100755 new mode 100644 similarity index 93% rename from launch-devel.sh rename to docker/launch-devel.sh index f02ad4d..94bcdbc --- a/launch-devel.sh +++ b/docker/launch-devel.sh @@ -16,4 +16,6 @@ if docker inspect -f {{.Name}} data-docker-home > /dev/null fi +echo Run this script from the project root folder! + docker run -it --rm --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 9000:9000 -p 35729:35729 adamarthurryan/mean grunt serve diff --git a/launch-production.sh b/docker/launch-production.sh old mode 100755 new mode 100644 similarity index 93% rename from launch-production.sh rename to docker/launch-production.sh index 2c262dd..b64b228 --- a/launch-production.sh +++ b/docker/launch-production.sh @@ -16,4 +16,6 @@ if docker inspect -f {{.Name}} data-docker-home > /dev/null fi +echo Run this script from the project root folder! + docker run -it --rm -e "PORT=8080" --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 80:8080 adamarthurryan/mean grunt serve:dist