Update Dockerfile (#12997)
parent
d0cc024ce9
commit
4f80dd3e26
|
@ -58,7 +58,9 @@ RUN npm install -g yarn && \
|
||||||
COPY Gemfile* package.json yarn.lock /opt/mastodon/
|
COPY Gemfile* package.json yarn.lock /opt/mastodon/
|
||||||
|
|
||||||
RUN cd /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
|
yarn install --pure-lockfile
|
||||||
|
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
Loading…
Reference in New Issue