diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-06 08:57:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-06 08:57:10 +0100 |
commit | 14a07e01769b585fc341b524b93be31c6c8acb56 (patch) | |
tree | e7f90c5ce5bfaadefa57bb1cb0c2b36614f67f35 | |
parent | 0bc53e20296de68288481e2375b297626087174b (diff) | |
download | PeerTube-14a07e01769b585fc341b524b93be31c6c8acb56.tar.gz PeerTube-14a07e01769b585fc341b524b93be31c6c8acb56.tar.zst PeerTube-14a07e01769b585fc341b524b93be31c6c8acb56.zip |
Increase yarn timeout
It can be slow when building docker using qemu
-rw-r--r-- | support/docker/production/Dockerfile.bullseye | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
21 | 21 | ||
22 | USER peertube | 22 | USER peertube |
23 | 23 | ||
24 | RUN yarn install --pure-lockfile \ | 24 | RUN yarn install --pure-lockfile --network-timeout 600000 \ |
25 | && npm run build -- $NPM_RUN_BUILD_OPTS \ | 25 | && npm run build -- $NPM_RUN_BUILD_OPTS \ |
26 | && rm -r ./node_modules ./client/node_modules \ | 26 | && rm -r ./node_modules ./client/node_modules \ |
27 | && yarn install --pure-lockfile --production \ | 27 | && yarn install --pure-lockfile --production --network-timeout 600000 \ |
28 | && yarn cache clean | 28 | && yarn cache clean |
29 | 29 | ||
30 | USER root | 30 | USER root |