This commit is contained in:
wood911010 committed 2025-07-31 13:51:53 +08:00
1 parent ba984f852c
commit e182a79209
1 file changed
+3 -3
+3 -3
View File
@@ -2,10 +2,10 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY frontend/package*.json ./
COPY frontend/package.json ./
# Update npm to latest version and install dependencies
RUN npm install -g npm@latest && npm ci
# Install dependencies without package-lock.json constraints
RUN npm install
COPY frontend/ ./
RUN npm run prod