Skip to content

Commit 6eb882e

Browse files
authored
make docker-entrypoint exit on error (rails#47496)
Fixes rails#47414
1 parent b6964e8 commit 6eb882e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/docker-entrypoint.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -e
22

33
# If running the rails server then create or migrate existing database
44
if [ "${*}" == "./bin/rails server" ]; then

0 commit comments

Comments
 (0)