From 71baacb49ac63aa12af79649f657ab1e1d5787aa Mon Sep 17 00:00:00 2001 From: Shlee Date: Wed, 29 Jan 2020 03:33:09 +0800 Subject: Update Dockerfile (#12997) --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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 -- cgit