From c2627b2b9cde5310791c59e404c9211281f50e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Fri, 17 May 2024 20:15:08 +0200 Subject: [PATCH] Fix dangling pid file in slim container --- docker/prod/web | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/prod/web b/docker/prod/web index 92d70da0170..f53e8bd937d 100755 --- a/docker/prod/web +++ b/docker/prod/web @@ -17,5 +17,8 @@ if [ "$MIGRATE" = "true" ]; then bundle exec rake db:migrate fi +# Clean up any dangling PID file +rm -f ${APP_PATH}/tmp/pids/* + # see `config/puma.rb` for configuration exec bundle exec rails server -u puma -b $BIND -p $PORT