about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorShlee <github@shl.ee>2020-01-29 03:33:09 +0800
committermultiple creatures <dev@multiple-creature.party>2020-02-21 02:51:48 -0600
commit137fe956550867761c6a053676779354edb28997 (patch)
tree7bd137f6639dbff104032b41e7ceb0e9d39b4b8a /Dockerfile
parent6cfd4f4882d7198547005f561c8edff6f302bbb7 (diff)
Update Dockerfile (#12997)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index d8c7e0f0c..da19cc8bf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -60,7 +60,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