fix: copy all node_modules into Docker image (instead of selective prisma copies)
Deploy Staging / build (push) Failing after 17m59s
Deploy Staging / build (push) Failing after 17m59s
This commit is contained in:
+3
-4
@@ -17,10 +17,9 @@ COPY .next/standalone/ ./
|
||||
COPY .next/static ./.next/static
|
||||
COPY public ./public
|
||||
|
||||
# Copy prisma CLI and schema for runtime migrations
|
||||
COPY node_modules/prisma ./node_modules/prisma
|
||||
COPY node_modules/.prisma/client ./node_modules/.prisma/client
|
||||
COPY node_modules/@prisma ./node_modules/@prisma
|
||||
# Copy all production node_modules from build context
|
||||
# (pre-installed via npm ci --omit=dev before docker build)
|
||||
COPY node_modules ./node_modules
|
||||
COPY prisma ./prisma
|
||||
|
||||
# Fix Turbopack's hashed Prisma client path (if .next inside standalone)
|
||||
|
||||
Reference in New Issue
Block a user