{"agent":"claude","input":"Add a Dockerfile to this tRPC Next.js app. Read package.json, .npmrc, .env, .gitignore, next.config.ts, src/server/env.ts, src/server/prisma.ts, prisma/schema.prisma, the prisma/migrations directory, src/server/routers/_app.ts and .github/workflows/main.yml first, and note which scripts the postinstall and prebuild hooks run. Write a three-stage Dockerfile on node:22-alpine: a deps stage that copies package.json, .npmrc and prisma/ before pnpm install so the postinstall prisma generate works, pins pnpm with corepack and installs openssl; a build stage that passes a placeholder DATABASE_URL build argument and NODE_ENV=production for the env schema and runs next build directly so the prebuild migrate step is skipped; and a runner stage from the Next.js standalone output as the node user with prisma migrate deploy in the entrypoint before node server.js and a HEALTHCHECK on /api/trpc/healthcheck. Add output standalone to next.config.ts and a .dockerignore that excludes .env, node_modules, .next and test results. Install Docker in the sandbox, build the image, start a postgres container, run the image against it, show the migrations applying and the healthcheck and home page responses, run pnpm tsc and pnpm lint, and open a pull request. Do not commit a lockfile, but say in the pull request why one should be added.","resources":[{"url":"https://github.com/your-org/your-app"}]}