mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-01 18:19:43 +00:00
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:
1 parent
4e40b92b16
commit
3c9a021f11
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -11,4 +11,4 @@ COPY --from=build /app/dist ./dist
|
|||||||
COPY --from=build /app/node_modules ./node_modules
|
COPY --from=build /app/node_modules ./node_modules
|
||||||
COPY --from=build /app/package.json .
|
COPY --from=build /app/package.json .
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["node", "dist/index.js"]
|
CMD ["node", "dist/index.mjs"]
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "tsx watch src/index.ts",
|
"dev": "tsx watch src/index.ts",
|
||||||
"build": "tsup src/index.ts --format esm --clean",
|
"build": "tsup src/index.ts --format esm --clean",
|
||||||
"start": "node dist/index.js",
|
"start": "node dist/index.mjs",
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in new issue
Block a user