move docker launch scripts to docker folder

This commit is contained in:
Adam Brown 2015-04-18 10:05:32 -04:00
parent 9dc35f2079
commit 4fe73b91bc
2 changed files with 4 additions and 0 deletions

2
launch-devel.sh → docker/launch-devel.sh Executable file → Normal file
View File

@ -16,4 +16,6 @@ if docker inspect -f {{.Name}} data-docker-home > /dev/null
fi 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 docker run -it --rm --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 9000:9000 -p 35729:35729 adamarthurryan/mean grunt serve

2
launch-production.sh → docker/launch-production.sh Executable file → Normal file
View File

@ -16,4 +16,6 @@ if docker inspect -f {{.Name}} data-docker-home > /dev/null
fi 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 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