Increase yarn timeout

It can be slow when building docker using qemu
This commit is contained in:
Chocobozzz 2021-12-06 08:57:10 +01:00
parent 0bc53e2029
commit 14a07e0176
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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