mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-16 15:17:19 +01:00
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
This commit is contained in:
parent
0dc103ea11
commit
959234c1e4
@ -54,8 +54,8 @@ RUN npm install -g yarn && \
|
|||||||
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 install -j"$(nproc)" && \
|
bundle install -j"$(nproc)" && \
|
||||||
yarn install --pure-lockfile
|
yarn install --pure-lockfile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user