This commit is contained in:
pradeepkumar
2025-12-24 07:04:07 +05:30
parent e5fe561901
commit 4adab3b064
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ RUN apk add --no-cache openssl
# Copy package files
COPY package*.json ./
COPY prisma ./prisma/
COPY prisma.config.ts ./
# Install dependencies
RUN npm ci
@@ -49,6 +50,7 @@ RUN npm ci --only=production
# Copy Prisma schema and generate client
COPY prisma ./prisma/
COPY prisma.config.ts ./
RUN npx prisma generate
# Copy built application from builder stage

View File

@@ -7,7 +7,6 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
// ===========================================