Skip to content

Commit

Permalink
Add environment to migrate in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bjkeller committed May 25, 2021
1 parent 5c95436 commit c9dcfd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ _build_empty_database() {
}

_update_database() {
rake db:migrate
rake db:migrate RAILS_ENV=production
}

_main() {
Expand Down

0 comments on commit c9dcfd2

Please sign in to comment.