Update Dockerfile
This commit is contained in:
1 parent
a43d9333b5
commit
2a2de9beec
1 file changed
+3
@@ -44,6 +44,9 @@ COPY --from=builder /app/public ./public
|
|||||||
COPY --from=builder /app/.next/standalone ./
|
COPY --from=builder /app/.next/standalone ./
|
||||||
COPY --from=builder /app/.next/static ./.next/static
|
COPY --from=builder /app/.next/static ./.next/static
|
||||||
|
|
||||||
|
# Copy production node_modules as fallback (standalone may miss some deps)
|
||||||
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
|
|
||||||
# Copy package.json for version info
|
# Copy package.json for version info
|
||||||
COPY --from=builder /app/package.json ./
|
COPY --from=builder /app/package.json ./
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user