From 137fe956550867761c6a053676779354edb28997 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(-) 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 -- cgit