fix(docker): declare esbuild as direct dev dependency

The Dockerfile uses `pnpm exec esbuild` to bundle the migrator into a
single ESM file before copying it into the runtime image. pnpm exec only
resolves binaries from declared dependencies, so the transitive esbuild
that tsx pulls in wasn't visible to the build stage.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-15 07:59:11 -07:00
co-authored by Claude Opus 4.7
parent d4cd53ad2b
commit 3b191c449f
2 changed files with 267 additions and 5 deletions
+1
View File
@@ -30,6 +30,7 @@
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"drizzle-kit": "^0.30.1",
"esbuild": "^0.24.2",
"eslint": "^9.17.0",
"eslint-config-next": "^15.1.0",
"tsx": "^4.19.2",