Install root deps in Docker build so shared schemas resolve zod
Build & Push / Test (client) (push) Successful in 21s
Build & Push / Test (server) (push) Successful in 35s
Build & Push / Build Client (push) Successful in 1m12s
Build & Push / Build Server (push) Successful in 1m8s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 17:19:45 -04:00
parent 2c11d19f76
commit b341c64b02
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
COPY client/package*.json ./client/
RUN cd client && npm ci
RUN npm ci --omit=dev && cd client && npm ci
COPY client ./client
COPY shared ./shared
RUN cd client && npm run build
+2 -1
View File
@@ -1,7 +1,8 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
COPY server/package*.json ./server/
RUN cd server && npm ci
RUN npm ci --omit=dev && cd server && npm ci
COPY server ./server
COPY shared ./shared
RUN cd server && npx prisma generate && npm run build