Skip to content

Commit 6c8a0c1

Browse files
committed
deploy: Start delayed_job in background on startup.
1 parent 519d891 commit 6c8a0c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile.production

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ echo
7171
# Create or migrate the database
7272
./bin/rails db:prepare
7373

74+
./bin/delayed_job start
75+
7476
exec "${@}"
7577
EOF
7678
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)