We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9fa57e + 7aaea30 commit 71fd543Copy full SHA for 71fd543
railties/lib/rails/generators/rails/app/templates/docker-entrypoint.tt
@@ -2,7 +2,7 @@
2
3
<% unless skip_active_record? -%>
4
# If running the rails server then create or migrate existing database
5
-if [ "${*}" == "./bin/rails server" ]; then
+if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
6
./bin/rails db:prepare
7
fi
8
0 commit comments