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.
1 parent 6802078 commit f699bcbCopy full SHA for f699bcb
docker/scripts/entrypoint
@@ -2,6 +2,8 @@
2
set -e
3
4
export RAILS_ENV=production
5
+# Silence bundler when running as root.
6
+export HOME=/app
7
8
# Start internal postgres if no database is configured.
9
if [ -z "${DATABASE_HOST}" ] && [ -z "${DATABASE_URL}" ]; then
docker/scripts/init
@@ -52,7 +52,7 @@ fi
52
# added specifically to support running ActiveWorkflow on Heroku free plan.
53
# Please use multiple container configuration in production.
54
55
-if [ "${SINGLE_DYNO}" -eq "1" ]; then
+if [ "${SINGLE_DYNO}" = "1" ]; then
56
# Simple "homegrown" process management with somewhat graceful shutdown.
57
(until bundle exec puma; do sleep 1; done) &
58
web_id=$!
0 commit comments