add bundle flag to suppress root warning (#16557)

lolsob-rspec
David Sterry 2021-10-14 12:00:38 -07:00 committed by GitHub
parent a889c9a0e2
commit eaad3c0998
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ 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 silence_root_warning true && \
bundle install -j"$(nproc)" && \
yarn install --pure-lockfile