diff --git a/bin/docker-entrypoint-production b/bin/docker-entrypoint-production index 452771b..0848d2f 100755 --- a/bin/docker-entrypoint-production +++ b/bin/docker-entrypoint-production @@ -5,4 +5,6 @@ # ./bin/rails db:prepare # fi +if [ -z "$RENDER" ]; then echo "var is unset"; else bin/rails db:migrate; fi + exec "${@}"