We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773ac94 commit 2ae7eb1Copy full SHA for 2ae7eb1
Dockerfile
@@ -108,11 +108,12 @@ ADD /bin /opt/openstudio/bin
108
ADD .rubocop.yml /opt/openstudio/.rubocop.yml
109
110
# 4. Create log directory and Precompile Assets
111
-# We pass OS_SERVER_HOST_URL here just to satisfy the Ruby initializer during build
+# Adding dummy vars for Host and Redis to satisfy initializers during asset compilation
112
RUN mkdir -p /opt/openstudio/server/log && \
113
SECRET_KEY_BASE=dummy_key_for_build \
114
RAILS_ENV=production \
115
OS_SERVER_HOST_URL=localhost \
116
+ REDIS_URL=redis://localhost:6379/0 \
117
bundle exec rake assets:precompile --trace
118
119
# 5. Final bundle check
0 commit comments