File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,9 @@ ADD /bin /opt/openstudio/bin
108108ADD .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+ # Added SECRET_KEY_BASE and RAILS_ENV to prevent "Abort" crashes
112112RUN 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- bundle exec rake assets:precompile --trace
113+ SECRET_KEY_BASE=dummy_key_for_build RAILS_ENV=production bundle exec rake assets:precompile --trace
117114
118115# 5. Final bundle check
119116RUN rm -f Gemfile.lock && bundle install --jobs=3 --retry=3
You can’t perform that action at this time.
0 commit comments