about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2021-12-26 06:52:24 +0900
committerGitHub <noreply@github.com>2021-12-25 22:52:24 +0100
commitfad37dd1bc8504fe6f2939f5d935cc1e5d264458 (patch)
treeafa2fe2c003872494e9e781e44bd468a52a8259d /Dockerfile
parent56c55ab9f645c08e991dfa563cfbdb87d28a87d7 (diff)
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
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
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