Skip to content

Commit

Permalink
add network timeout for arm64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bennsimon committed Apr 27, 2021
1 parent ae5abd6 commit 706c0e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Expand Up @@ -13,7 +13,8 @@ RUN chown -R node .
USER node

RUN cp /project/app/.env.sample /project/app/.env \
&& yarn
&& yarn --network-timeout 100000
# network timeout added to fix an issue with build on arm64 arch https://github.com/yarnpkg/yarn/issues/4890

USER root
RUN chown -R node .
Expand Down

0 comments on commit 706c0e2

Please sign in to comment.