Skip to content

Commit

Permalink
Increase ruby stack size limit
Browse files Browse the repository at this point in the history
Based on recommendation for resolving "Stack level too deep" errors, found here: samvera/hyrax#4581 (comment)
  • Loading branch information
masaball committed Feb 21, 2023
1 parent 3f60010 commit f441593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ COPY Gemfile.lock ./Gemfile.lock
RUN gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)" \
&& bundle config build.nokogiri --use-system-libraries

ENV RUBY_THREAD_MACHINE_STACK_SIZE 8388608


# Build development gems
FROM bundle as bundle-dev
Expand Down

0 comments on commit f441593

Please sign in to comment.