fix: Dockerfile use npm install instead of npm ci

This commit is contained in:
Superuser
2026-05-18 20:47:09 +08:00
parent 0bd6125922
commit a81238313e
+2 -2
View File
@@ -1,7 +1,7 @@
FROM node:24-alpine
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --omit=dev
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000