From 9ce6995402ddb966577dd07c0b131846f237ebe3 Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sat, 30 Sep 2023 21:18:46 -0700 Subject: [PATCH] Trying to get Render to run the migrations --- bin/docker-entrypoint-production | 2 -- render.yaml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/docker-entrypoint-production b/bin/docker-entrypoint-production index 16e7dfb..9f35ff4 100755 --- a/bin/docker-entrypoint-production +++ b/bin/docker-entrypoint-production @@ -9,6 +9,4 @@ echo "${*}" # ./bin/rails db:prepare # fi -if [ -z "$RENDER" ]; then echo "var is unset"; else bin/rails db:migrate; fi - exec "${@}" diff --git a/render.yaml b/render.yaml index 7b3c422..529afb9 100644 --- a/render.yaml +++ b/render.yaml @@ -13,7 +13,7 @@ services: region: oregon branch: main plan: free - # dockerCommand: "bundle exec puma -C config/puma.rb" + dockerCommand: "bundle exec puma -C config/puma.rb" numInstances: 1 healthCheckPath: /up envVars: