1
0
Fork 0
forked from fedi/mastodon

add bundle flag to suppress root warning (#16557)

This commit is contained in:
David Sterry 2021-10-14 12:00:38 -07:00 committed by GitHub
parent a7e2e32d92
commit f68772fd6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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