]> cat aescling's git repositories - mastodon.git/commitdiff
Update Dockerfile (#12997)
authorShlee <github@shl.ee>
Tue, 28 Jan 2020 19:33:09 +0000 (03:33 +0800)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 28 Jan 2020 19:33:09 +0000 (20:33 +0100)
Dockerfile

index cc75bd6beeeee8a6fc529f8b52338da7d5973515..16618a27657d9f8a8515236cd25ff23e00188578 100644 (file)
@@ -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