fix(ci): yarn config set network-timeout 600000

This commit is contained in:
chenos 2022-10-26 21:07:27 +08:00
parent 42db519fa1
commit 6b6951b279

View File

@ -21,6 +21,7 @@ RUN git checkout -b release \
RUN yarn config set registry $VERDACCIO_URL RUN yarn config set registry $VERDACCIO_URL
WORKDIR /app WORKDIR /app
RUN cd /app \ RUN cd /app \
&& yarn config set network-timeout 600000 -g \
&& yarn create nocobase-app my-nocobase-app -a -e APP_ENV=production \ && yarn create nocobase-app my-nocobase-app -a -e APP_ENV=production \
&& cd /app/my-nocobase-app \ && cd /app/my-nocobase-app \
&& yarn install --production && yarn install --production