Skip to content

Commit f699bcb

Browse files
author
Vidas P
committed
Silence bundler warnings in docker
1 parent 6802078 commit f699bcb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker/scripts/entrypoint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
set -e
33

44
export RAILS_ENV=production
5+
# Silence bundler when running as root.
6+
export HOME=/app
57

68
# Start internal postgres if no database is configured.
79
if [ -z "${DATABASE_HOST}" ] && [ -z "${DATABASE_URL}" ]; then

docker/scripts/init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fi
5252
# added specifically to support running ActiveWorkflow on Heroku free plan.
5353
# Please use multiple container configuration in production.
5454

55-
if [ "${SINGLE_DYNO}" -eq "1" ]; then
55+
if [ "${SINGLE_DYNO}" = "1" ]; then
5656
# Simple "homegrown" process management with somewhat graceful shutdown.
5757
(until bundle exec puma; do sleep 1; done) &
5858
web_id=$!

0 commit comments

Comments
 (0)