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
|
case "$CMD" in
|
||||||
'start' )
|
'start' )
|
||||||
echo `pwd`
|
echo `pwd`
|
||||||
|
rm -f /app/tmp/pids/server.pid
|
||||||
bundle exec rails s -b 0.0.0.0
|
bundle exec rails s -b 0.0.0.0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user