fix: Dockerfile — use npm install instead of npm ci for lock file compat

This commit is contained in:
Vantz Stockwell 2026-03-13 08:12:57 -04:00
parent 7dff07e3ac
commit 3a55287f54

View File

@ -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