From: Jeong Arm Date: Sat, 25 Dec 2021 21:52:24 +0000 (+0900) Subject: Save bundle config as local (#17188) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=fad37dd1bc8504fe6f2939f5d935cc1e5d264458;p=mastodon.git 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 --- diff --git a/Dockerfile b/Dockerfile index 309ec06f4..590b6eddf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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