USER peertube
-RUN yarn install --pure-lockfile --network-timeout 1200000 \
+RUN yarn install --pure-lockfile --network-timeout 1200000 --network-concurrency 20 \
&& npm run build -- $NPM_RUN_BUILD_OPTS \
&& rm -r ./node_modules ./client/node_modules \
- && yarn install --pure-lockfile --production --network-timeout 1200000 \
+ && yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \
&& yarn cache clean
USER root