Commit Graph
2 Commits
Author SHA1 Message Date
admin 4dc2089547 build: esmole Dockerfile
Build from repo root so @dbmole/core resolves; tsup bundles core into
dist while undici/MCP SDK/zod/ssh2 ship as pruned node_modules.

Mark ssh2 external in tsup: it is pulled in transitively by the bundled
core and ships an optional native crypto addon (pure-JS fallback). Inlining
would force esbuild to resolve a .node binary that need not exist on the
target; node-gyp also cannot reliably build it on alpine. Externalizing lets
ssh2 resolve from node_modules at runtime.

npm nests undici under packages/esmole-mcp/node_modules, so the runtime
stage copies both the root and the per-package node_modules.
2026-06-16 21:38:41 +05:00
admin c902231786 chore: scaffold esmole-mcp package 2026-06-16 20:41:25 +05:00