This commit is contained in:
whm
2026-03-17 20:07:42 +08:00
parent 2851b0913c
commit 1ece933a1e
2 changed files with 2 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci --legacy-peer-deps 2>/dev/null || npm install --legacy-peer-deps
COPY . .
RUN chmod -R +x node_modules/.bin 2>/dev/null || true
RUN npm run build
ARG REGISTRY_MIRROR=docker.m.daocloud.io/library/

View File

@@ -5,6 +5,7 @@ WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci --legacy-peer-deps 2>/dev/null || npm install --legacy-peer-deps
COPY . .
RUN chmod -R +x node_modules/.bin 2>/dev/null || true
RUN npm run build
ARG REGISTRY_MIRROR=docker.m.daocloud.io/library/