Use Yarn production install for asset compile (#24232)

This commit is contained in:
Nick Schonning
2023-03-23 17:49:47 -04:00
committed by GitHub
parent b46125224c
commit e7e189fa44
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ RUN apt-get update && \
bundle config set --local without 'development test' && \
bundle config set silence_root_warning true && \
bundle install -j"$(nproc)" && \
yarn install --pure-lockfile --network-timeout 600000 && \
yarn install --pure-lockfile --production --network-timeout 600000 && \
yarn cache clean
FROM node:${NODE_VERSION}