diff --git a/Dockerfile b/Dockerfile
index 0c6d1edecddc75dc8e2ea8e217dcd297721032b7..64147db5b32f26ad2819dac054da508ea34851f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,6 +19,9 @@ COPY . .
 # version is pulled from git, but git doesn't trust the directory due to different owners
 RUN git config --global --add safe.directory /home/node
 
+# install frontend dependencies
+RUN yarn --frozen-lockfile
+
 RUN INTERACTIVE=false CI=true MB_EDITION=$MB_EDITION bin/build.sh :version ${VERSION}
 
 # ###################