Fix MCP server entry point

Update start script and Dockerfile CMD to use index.mjs generated by tsup ESM build
This commit is contained in:
jjbrunton committed 2026-01-10 19:28:15 +00:00
1 parent 4e40b92b16
commit 3c9a021f11
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -11,4 +11,4 @@ COPY --from=build /app/dist ./dist
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/package.json .
EXPOSE 3000
CMD ["node", "dist/index.js"]
CMD ["node", "dist/index.mjs"]
+1 -1
View File
@@ -5,7 +5,7 @@
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsup src/index.ts --format esm --clean",
"start": "node dist/index.js",
"start": "node dist/index.mjs",
"typecheck": "tsc --noEmit"
},
"dependencies": {