Update Dockerfile

This commit is contained in:
Barry Yip 2025-05-15 01:35:12 +08:00
parent d18642f0eb
commit 7b500bffa8
1 changed files with 3 additions and 4 deletions

View File

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