diff --git a/container/Dockerfile b/container/Dockerfile index 5dde2fcbc..6bfd54f4a 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -6,8 +6,8 @@ SHELL ["bash", "-c"] COPY Gemfile* package.json yarn.lock /opt/mastodon/ RUN cd /opt/mastodon && \ - bundle config set deployment 'true' \ - bundle install -j$(nproc) --without development test && \ + bundle config set deployment 'true' && \ + bundle install --without development test --with production && \ yarn install --pure-lockfile FROM amd64/ubuntu:18.04