Save bundle config as local (#17188)

Some bundle options are saved as global user config and not project local.
Specially, `deployment` must be saved as local config to be run on copied environment
This commit is contained in:
Jeong Arm 2021-12-26 06:52:24 +09:00 committed by Claire
parent e8a2d12338
commit 0842e3b4fb
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ RUN npm install -g yarn && \
COPY Gemfile* package.json yarn.lock /opt/mastodon/
RUN cd /opt/mastodon && \
bundle config set deployment 'true' && \
bundle config set without 'development test' && \
bundle config set --local deployment 'true' && \
bundle config set --local without 'development test' && \
bundle install -j$(nproc) && \
yarn install --pure-lockfile