Change default port to 8080

This commit is contained in:
Barry Yip 2025-05-15 01:38:36 +08:00
parent 7b500bffa8
commit 7da435c107
2 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,8 @@ COPY . .
# Build the TypeScript code
RUN npm run build
# Expose any port if needed (Not required for stdio deployment)
# Expose HTTP port
EXPOSE 8080
# Default command to run the MCP server
CMD ["node", "build/index.js"]
# Default command to run the MCP server with HTTP transport
CMD ["node", "build/index.js", "--transport", "http", "--port", "8080"]

View File

@ -49,7 +49,7 @@ const config = {
return parseInt(process.argv[portIndex + 1]);
}
// Default port
return 3000;
return 8080;
})()
};