mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
ci: directly install specified bundler
This commit is contained in:
parent
315a0e4472
commit
60fbb593b9
|
|
@ -14,7 +14,7 @@ COPY Gemfile Gemfile.lock package.json package-lock.json /data/
|
|||
COPY _node_module_patch /data/_node_module_patch
|
||||
|
||||
RUN \
|
||||
gem install bundler && \
|
||||
gem install bundler -v "$(sed --silent -r '/BUNDLED WITH/,+1 {s/^[\t ]+//; p}' Gemfile.lock | tail -n +2)" && \
|
||||
bundle install --frozen && \
|
||||
NODE_ENV=production npm ci && \
|
||||
mv node_modules ../ && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue