about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShlee <github@shl.ee>2020-01-29 03:33:09 +0800
committerEugen Rochko <eugen@zeonfederated.com>2020-01-28 20:33:09 +0100
commit71baacb49ac63aa12af79649f657ab1e1d5787aa (patch)
tree3aa9020b22201587f429f088c633ddecae163af6
parent0c611e311543ac9ba11903bf3f87dfdf4c207974 (diff)
Update Dockerfile (#12997)
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index cc75bd6be..16618a276 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -58,7 +58,9 @@ RUN npm install -g yarn && \
 COPY Gemfile* package.json yarn.lock /opt/mastodon/
 
 RUN cd /opt/mastodon && \
-	bundle install -j$(nproc) --deployment --without development test && \
+  bundle config set deployment 'true' && \
+  bundle config set without 'development test' && \
+	bundle install -j$(nproc) && \
 	yarn install --pure-lockfile
 
 FROM ubuntu:18.04