diff --git a/msa/js-executor/docker/Dockerfile b/msa/js-executor/docker/Dockerfile
index a7bebc8aaf..117bde8712 100644
--- a/msa/js-executor/docker/Dockerfile
+++ b/msa/js-executor/docker/Dockerfile
@@ -35,7 +35,7 @@ COPY src/server.js ./
RUN chmod a+x /tmp/*.sh \
&& mv /tmp/start-js-executor.sh /usr/bin \
&& chown -R node:node ${pkg.installFolder} \
- && yarn install --production && yarn cache clean --all
+ && yarn install --production --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network && yarn cache clean --all
USER node
diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml
index 5eb3a34c49..5880ff513a 100644
--- a/msa/js-executor/pom.xml
+++ b/msa/js-executor/pom.xml
@@ -81,7 +81,7 @@
yarn
- install
+ install --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network
diff --git a/msa/web-ui/docker/Dockerfile b/msa/web-ui/docker/Dockerfile
index 8bac82683b..3081d90107 100644
--- a/msa/web-ui/docker/Dockerfile
+++ b/msa/web-ui/docker/Dockerfile
@@ -34,7 +34,7 @@ COPY src/server.js ./
RUN chmod a+x /tmp/*.sh \
&& mv /tmp/start-web-ui.sh /usr/bin \
&& chown -R node:node ${pkg.installFolder} \
- && yarn install --production && yarn cache clean --all
+ && yarn install --production --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network && yarn cache clean --all
USER node
diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml
index f60c73b8d1..c070210f02 100644
--- a/msa/web-ui/pom.xml
+++ b/msa/web-ui/pom.xml
@@ -90,7 +90,7 @@
yarn
- install
+ install --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network
diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml
index a13d364052..944ca04846 100644
--- a/ui-ngx/pom.xml
+++ b/ui-ngx/pom.xml
@@ -66,7 +66,7 @@
yarn
- install
+ install --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network