main
mula.liu 2026-03-02 01:46:12 +08:00
parent c1e59791a5
commit 93e9547a7f
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ ARG NPM_REGISTRY=https://registry.npmjs.org/
COPY package.json yarn.lock ./
RUN npm config set registry "${NPM_REGISTRY}" \
&& rm -f /usr/local/bin/yarn /usr/local/bin/yarnpkg \
&& npm install -g yarn@1.22.22 --registry "${NPM_REGISTRY}" \
&& yarn config set registry "${NPM_REGISTRY}" \
&& yarn install --frozen-lockfile --network-timeout 120000