Change default port to 8080
This commit is contained in:
parent
7b500bffa8
commit
7da435c107
|
@ -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"]
|
||||
|
|
|
@ -49,7 +49,7 @@ const config = {
|
|||
return parseInt(process.argv[portIndex + 1]);
|
||||
}
|
||||
// Default port
|
||||
return 3000;
|
||||
return 8080;
|
||||
})()
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue