From a880f6541e407a08201677370cab449034571a60 Mon Sep 17 00:00:00 2001 From: oldjamey Date: Tue, 4 Sep 2018 15:01:23 -0700 Subject: [PATCH] Fix Docker restart issue added line in docker/entrypoint that enables clean restarting of the application without causing a boot loop --- docker/entrypoint | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/entrypoint b/docker/entrypoint index 6b6ba9355..d067f7e44 100755 --- a/docker/entrypoint +++ b/docker/entrypoint @@ -7,6 +7,7 @@ CMD=$1 case "$CMD" in 'start' ) echo `pwd` + rm -f /app/tmp/pids/server.pid bundle exec rails s -b 0.0.0.0 ;;