Add option to yarn in CI to avoid network timeouts

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-09 10:39:04 +01:00
parent e4a64e8ad6
commit 6d9fe639d6
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -7,7 +7,8 @@ COPY js .
ENV CYPRESS_INSTALL_BINARY 0
RUN yarn install \
# Network timeout because it's slow when cross-compiling
RUN yarn install --network-timeout 100000 \
&& yarn run build
# Then, build the application binary