Skip to content

Commit 9a84dd3

Browse files
author
Janghyun(JK)Kim
committed
Revert "test"
This reverts commit 773ac94.
1 parent b79c3a7 commit 9a84dd3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,9 @@ 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+
# Added SECRET_KEY_BASE and RAILS_ENV to prevent "Abort" crashes
112112
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-
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
119116
RUN rm -f Gemfile.lock && bundle install --jobs=3 --retry=3

0 commit comments

Comments
 (0)