Run rake db:migrate during startup
Some checks failed
continuous-integration/drone/push Build is failing

Fixes #15
This commit is contained in:
3wc 2025-06-07 19:04:19 +01:00
parent ba632b7d61
commit f40559dcf0
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
export ENTRYPOINT_CONF_VERSION=v5
export ENTRYPOINT_CONF_VERSION=v6
export ENTRYPOINT_STREAMING_CONF_VERSION=v1
grep=grep

View File

@ -40,4 +40,6 @@ file_env "OIDC_CLIENT_SECRET"
# NOTE: this was working in mastodon 4.2 but breaks in 4.3
# sed -i '/- admin$/d' /opt/mastodon/config/settings.yml
RAILS_ENV=production bundle exec rake db:migrate
/usr/bin/tini -s -- "$@"