From 14a07e01769b585fc341b524b93be31c6c8acb56 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 6 Dec 2021 08:57:10 +0100 Subject: Increase yarn timeout It can be slow when building docker using qemu --- support/docker/production/Dockerfile.bullseye | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support/docker/production') diff --git a/support/docker/production/Dockerfile.bullseye b/support/docker/production/Dockerfile.bullseye index 7b2650538..ec06d6b1d 100644 --- a/support/docker/production/Dockerfile.bullseye +++ b/support/docker/production/Dockerfile.bullseye @@ -21,10 +21,10 @@ WORKDIR /app USER peertube -RUN yarn install --pure-lockfile \ +RUN yarn install --pure-lockfile --network-timeout 600000 \ && npm run build -- $NPM_RUN_BUILD_OPTS \ && rm -r ./node_modules ./client/node_modules \ - && yarn install --pure-lockfile --production \ + && yarn install --pure-lockfile --production --network-timeout 600000 \ && yarn cache clean USER root -- cgit v1.2.3