File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz
4646COPY Gemfile Gemfile.lock .ruby-version ./
4747RUN bundle install && \
4848 rm -rf ~/.bundle/ "${BUNDLE_PATH}" /ruby/*/cache "${BUNDLE_PATH}" /ruby/*/bundler/gems/*/.git && \
49- bundle exec bootsnap precompile --gemfile
49+ bundle exec precompile --gemfile
5050
5151# Install node modules
5252COPY package.json yarn.lock ./
@@ -56,7 +56,7 @@ RUN yarn install --frozen-lockfile
5656COPY . .
5757
5858# Precompile bootsnap code for faster boot times
59- RUN bundle exec bootsnap precompile app/ lib/
59+ # RUN bundle exec bootsnap precompile app/ lib/ # disable bootsnapp for now as it causes a crash during deploy
6060
6161# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
6262RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
Original file line number Diff line number Diff line change 11ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../Gemfile" , __dir__ )
22
33require "bundler/setup" # Set up gems listed in the Gemfile.
4- require "bootsnap/setup" # Speed up boot time by caching expensive operations.
4+ # require "bootsnap/setup" # Speed up boot time by caching expensive operations.
You can’t perform that action at this time.
0 commit comments