fix: Dockerfile — use npm install instead of npm ci for lock file compat
This commit is contained in:
parent
7dff07e3ac
commit
3a55287f54
@ -2,7 +2,7 @@
|
||||
FROM node:20-alpine AS frontend
|
||||
WORKDIR /app/frontend
|
||||
COPY frontend/package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
COPY frontend/ ./
|
||||
RUN npx nuxi generate
|
||||
|
||||
@ -10,7 +10,7 @@ RUN npx nuxi generate
|
||||
FROM node:20-alpine AS backend
|
||||
WORKDIR /app/backend
|
||||
COPY backend/package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
COPY backend/ ./
|
||||
RUN npx prisma generate
|
||||
RUN npm run build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user