production docker container will now restart on failure indefinitely

This commit is contained in:
Adam Brown 2015-05-29 13:44:16 -04:00
parent 573b6b32e2
commit f81f54a610

View File

@ -18,4 +18,4 @@ 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 8081:8080 adamarthurryan/mean grunt serve:dist
docker run --restart=always -it -e "PORT=8080" --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 8081:8080 adamarthurryan/mean grunt serve:dist