Spaces:
Paused
Paused
Fix: Correct prisma path to apps/backend/prisma
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -9,15 +9,15 @@ COPY apps/backend/package*.json ./apps/backend/
|
|
| 9 |
COPY packages/domain-types/package*.json ./packages/domain-types/
|
| 10 |
COPY packages/mcp-types/package*.json ./packages/mcp-types/
|
| 11 |
|
| 12 |
-
# Copy prisma schema for generation
|
| 13 |
-
COPY prisma ./prisma/
|
| 14 |
|
| 15 |
# Install all dependencies (including prisma)
|
| 16 |
RUN npm ci
|
| 17 |
RUN npm install -D tsx typescript @types/node @types/express @types/ws esbuild
|
| 18 |
|
| 19 |
# Generate Prisma client
|
| 20 |
-
RUN npx prisma generate
|
| 21 |
|
| 22 |
# Copy source code
|
| 23 |
COPY . .
|
|
|
|
| 9 |
COPY packages/domain-types/package*.json ./packages/domain-types/
|
| 10 |
COPY packages/mcp-types/package*.json ./packages/mcp-types/
|
| 11 |
|
| 12 |
+
# Copy prisma schema for generation (correct path)
|
| 13 |
+
COPY apps/backend/prisma ./apps/backend/prisma/
|
| 14 |
|
| 15 |
# Install all dependencies (including prisma)
|
| 16 |
RUN npm ci
|
| 17 |
RUN npm install -D tsx typescript @types/node @types/express @types/ws esbuild
|
| 18 |
|
| 19 |
# Generate Prisma client
|
| 20 |
+
RUN cd apps/backend && npx prisma generate
|
| 21 |
|
| 22 |
# Copy source code
|
| 23 |
COPY . .
|