1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-25 02:09:42 +00:00

Update Dockerfile ()

This commit is contained in:
Shlee 2020-01-29 03:33:09 +08:00 committed by Eugen Rochko
parent 0c611e3115
commit 71baacb49a

View 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