Increase yarn timeout
It can be slow when building docker using qemu
This commit is contained in:
parent
0bc53e2029
commit
14a07e0176
|
@ -21,10 +21,10 @@ WORKDIR /app
|
||||||
|
|
||||||
USER peertube
|
USER peertube
|
||||||
|
|
||||||
RUN yarn install --pure-lockfile \
|
RUN yarn install --pure-lockfile --network-timeout 600000 \
|
||||||
&& npm run build -- $NPM_RUN_BUILD_OPTS \
|
&& npm run build -- $NPM_RUN_BUILD_OPTS \
|
||||||
&& rm -r ./node_modules ./client/node_modules \
|
&& rm -r ./node_modules ./client/node_modules \
|
||||||
&& yarn install --pure-lockfile --production \
|
&& yarn install --pure-lockfile --production --network-timeout 600000 \
|
||||||
&& yarn cache clean
|
&& yarn cache clean
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
Loading…
Reference in New Issue