fix(docker): copy scaffold templates into runner stage for fresh project creation
Made-with: Cursor
This commit is contained in:
@@ -44,6 +44,9 @@ COPY --from=builder /app/node_modules/@prisma ./node_modules/@prisma
|
||||
COPY --from=builder /app/node_modules/@next-auth ./node_modules/@next-auth
|
||||
COPY --from=builder /app/prisma ./prisma
|
||||
|
||||
# Scaffold templates are read at runtime via fs — must be in the runner image
|
||||
COPY --from=builder /app/lib/scaffold ./lib/scaffold
|
||||
|
||||
# Copy and set up entrypoint
|
||||
COPY --chown=nextjs:nodejs entrypoint.sh ./entrypoint.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user