feat: update seed script to TypeScript and add tsx dependency
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||
# Config, schema, and seed script
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/prisma.config.ts ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/prisma/schema.prisma ./prisma/
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/prisma/seed.js ./prisma/
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/prisma/seed.ts ./prisma/
|
||||
|
||||
# Generated Prisma client (imported by the compiled Next.js server bundle)
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/src/generated ./src/generated
|
||||
|
||||
Reference in New Issue
Block a user