Browse Source

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
closed-social-glitch-2
Jeong Arm 2 years ago
committed by GitHub
parent
commit
fad37dd1bc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile View File

@ -56,8 +56,8 @@ RUN npm install -g npm@latest && \
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 config set silence_root_warning true && \
bundle install -j"$(nproc)" && \
yarn install --pure-lockfile

Loading…
Cancel
Save