main
mula.liu 2026-03-02 01:29:54 +08:00
parent bf4d0ad210
commit e3b134d943
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ ARG NPM_REGISTRY=https://registry.npmjs.org/
COPY package*.json ./ COPY package*.json ./
RUN npm config set registry "${NPM_REGISTRY}" \ RUN npm config set registry "${NPM_REGISTRY}" \
&& npm ci && if [ -f package-lock.json ] || [ -f npm-shrinkwrap.json ]; then npm ci; else npm install --no-audit --fund=false; fi
COPY . . COPY . .