set yarn network timeout

This commit is contained in:
aptalca
2020-11-24 22:39:40 -05:00
parent 2bf7b5ad4b
commit 11605d92d4
6 changed files with 23 additions and 5 deletions

View File

@@ -44,6 +44,7 @@ RUN \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
yarn config set network-timeout 600000 -g && \
yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
yarn cache clean && \
echo "**** clean up ****" && \