Skip to content

Commit

Permalink
Sorry I didn't catch these the first time, but two more...
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Sep 16, 2023
1 parent 65f43d7 commit 1437ff7
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -43,16 +43,14 @@ RUN curl -fsSL https://bun.sh/install | bash -s -- "bun-v${BUN_VERSION}"
COPY Gemfile Gemfile.lock ./
RUN bundle install && \
rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git<% if depend_on_bootsnap? -%> && \
bundle exec bootsnap precompile --gemfile
<% end %>
bundle exec bootsnap precompile --gemfile<% end %>

<% if using_node? -%>
# Install node modules
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile

<% end -%>

<% if using_bun? -%>
# Install node modules
COPY package.json bun.lockb ./
Expand Down

0 comments on commit 1437ff7

Please sign in to comment.