From f81f54a610ca9f168822d44a4bf11ffb748fbc8e Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Fri, 29 May 2015 13:44:16 -0400 Subject: [PATCH] production docker container will now restart on failure indefinitely --- docker/launch-production.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/launch-production.sh b/docker/launch-production.sh index 3a74d33..1e0fa70 100755 --- a/docker/launch-production.sh +++ b/docker/launch-production.sh @@ -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