diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 8bef198..30485f9 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -34,10 +34,15 @@ re_use() { fi } +db_setup() { + bundle exec rake db:setup +} + run_web(){ ./proc-start web } re_use load_vars +db_setup run_web