From ecf10466ad8e283a405cbaf8ef5a5ea6ec4f7c1a Mon Sep 17 00:00:00 2001
From: dpsutton <dan@dpsutton.com>
Date: Wed, 18 Aug 2021 22:12:34 -0400
Subject: [PATCH] Build static viz in the dockerfile (#17507)

---
 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 9793b01718b..62bfe7b2f8a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,8 @@ ARG MB_EDITION=oss
 WORKDIR /home/circleci
 
 COPY --chown=circleci . .
-RUN NODE_ENV=production MB_EDITION=$MB_EDITION yarn --frozen-lockfile && yarn build && bin/i18n/build-translation-resources
+RUN NODE_ENV=production MB_EDITION=$MB_EDITION yarn --frozen-lockfile && \
+    yarn build && yarn build-static-viz && bin/i18n/build-translation-resources
 
 ###################
 # STAGE 1.4: main builder
-- 
GitLab