Skip to content

Commit 2ae7eb1

Browse files
author
Janghyun(JK)Kim
committed
test
1 parent 773ac94 commit 2ae7eb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,12 @@ ADD /bin /opt/openstudio/bin
108108
ADD .rubocop.yml /opt/openstudio/.rubocop.yml
109109

110110
# 4. Create log directory and Precompile Assets
111-
# We pass OS_SERVER_HOST_URL here just to satisfy the Ruby initializer during build
111+
# Adding dummy vars for Host and Redis to satisfy initializers during asset compilation
112112
RUN mkdir -p /opt/openstudio/server/log && \
113113
SECRET_KEY_BASE=dummy_key_for_build \
114114
RAILS_ENV=production \
115115
OS_SERVER_HOST_URL=localhost \
116+
REDIS_URL=redis://localhost:6379/0 \
116117
bundle exec rake assets:precompile --trace
117118

118119
# 5. Final bundle check

0 commit comments

Comments
 (0)