fix: Dockerfile use npm install instead of npm ci

This commit is contained in:
Superuser
2026-05-18 20:47:13 +08:00
parent 024f272652
commit f71bb136fa
+2 -2
View File
@@ -1,7 +1,7 @@
FROM node:24-alpine AS build FROM node:24-alpine AS build
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json ./ COPY package*.json ./
RUN npm ci RUN npm install
COPY . . COPY . .
RUN npm run build RUN npm run build