forked from treehouse/mastodon
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 environmentsignup-info-prompt
parent
56c55ab9f6
commit
fad37dd1bc
|
@ -56,8 +56,8 @@ RUN npm install -g npm@latest && \
|
||||||
COPY Gemfile* package.json yarn.lock /opt/mastodon/
|
COPY Gemfile* package.json yarn.lock /opt/mastodon/
|
||||||
|
|
||||||
RUN cd /opt/mastodon && \
|
RUN cd /opt/mastodon && \
|
||||||
bundle config set deployment 'true' && \
|
bundle config set --local deployment 'true' && \
|
||||||
bundle config set without 'development test' && \
|
bundle config set --local without 'development test' && \
|
||||||
bundle config set silence_root_warning true && \
|
bundle config set silence_root_warning true && \
|
||||||
bundle install -j"$(nproc)" && \
|
bundle install -j"$(nproc)" && \
|
||||||
yarn install --pure-lockfile
|
yarn install --pure-lockfile
|
||||||
|
|
Loading…
Reference in New Issue