Fix Dockerfile: npm ci requires a lockfile we don't have yet, use npm install
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
5f008bb373
commit
7ce4d8b590
+2
-2
@@ -2,7 +2,7 @@
|
||||
FROM node:20-alpine AS client-build
|
||||
WORKDIR /app/client
|
||||
COPY client/package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
COPY client/ ./
|
||||
RUN npm run build
|
||||
|
||||
@@ -10,7 +10,7 @@ RUN npm run build
|
||||
FROM node:20-alpine AS server-build
|
||||
WORKDIR /app/server
|
||||
COPY server/package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
COPY server/ ./
|
||||
RUN npx prisma generate
|
||||
RUN npm run build
|
||||
|
||||
Reference in New Issue
Block a user