Fix Docker restart issue
added line in docker/entrypoint that enables clean restarting of the application without causing a boot loop
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user