about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-03-23 17:49:47 -0400
committerGitHub <noreply@github.com>2023-03-23 22:49:47 +0100
commite7e189fa44f246f087e451cfd8333a99544ae0d3 (patch)
treeab967ecd590f72999bd363313f92eaf8b4e1ecd9 /Dockerfile
parentb46125224c26bc0144659b4319ea416b01289961 (diff)
Use Yarn production install for asset compile (#24232)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index c2b18ce88..169d3af4f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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}