Increase yarn timeout
It can be slow when building docker using qemu
This commit is contained in:
parent
0bc53e2029
commit
14a07e0176
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue