Skip to content

Commit

Permalink
Copy vendor folder before installing gems
Browse files Browse the repository at this point in the history
Belongs to #2012
  • Loading branch information
ledermann committed Sep 23, 2023
1 parent 4625a03 commit 9fa5bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RUN bundle config --local frozen 1 && \

# Install Ruby gems (for production only)
ONBUILD COPY Gemfile* /app/
ONBUILD COPY vendor/ /app/vendor/
ONBUILD RUN --mount=type=secret,id=bundleconfig,dst=/root/.bundle/config \
bundle config --local without 'development test' && \
bundle install -j4 --retry 3 && \
Expand Down

0 comments on commit 9fa5bc8

Please sign in to comment.