From 4552d5b1d4d64e9e32ea6fa8f43229cc9e2f30d4 Mon Sep 17 00:00:00 2001 From: Jean-Francis Bastien Date: Fri, 29 Dec 2023 16:54:48 -0500 Subject: [PATCH] rm server.pid entrypoint --- bin/docker-entrypoint | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/docker-entrypoint b/bin/docker-entrypoint index 67ef493..90162b1 100755 --- a/bin/docker-entrypoint +++ b/bin/docker-entrypoint @@ -2,6 +2,7 @@ # If running the rails server then create or migrate existing database if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then + rm -f tmp/pids/server.pid ./bin/rails db:prepare fi