From a24bf4dc659cebb65d887862bf21d7a35e9ec791 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 28 Feb 2022 09:39:47 +0100 Subject: Try to fix ARM docker builds --- support/docker/production/Dockerfile.bullseye | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/docker/production/Dockerfile.bullseye b/support/docker/production/Dockerfile.bullseye index ac97ddce3..77b5d96dd 100644 --- a/support/docker/production/Dockerfile.bullseye +++ b/support/docker/production/Dockerfile.bullseye @@ -16,7 +16,9 @@ WORKDIR /app USER peertube -RUN yarn install --pure-lockfile --network-timeout 1200000 --network-concurrency 20 \ +# Install manually client dependencies to apply our network timeout option +RUN cd client && yarn install --pure-lockfile --network-timeout 1200000 && cd ../ \ + && yarn install --pure-lockfile --network-timeout 1200000 \ && npm run build \ && rm -r ./node_modules ./client/node_modules ./client/.angular \ && yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \ -- cgit v1.2.3