Files
2026-09-05 20:34:42 +08:00

12 lines
332 B
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FROM node:22-slim
WORKDIR /app
# 零运行时依赖:直接拷贝本地重构的源码,无需 npm install
COPY package.json server.js mcp.js core.js ./
EXPOSE 3000
# HTTP/SSE 模式监听 3000 端口(stdio 模式见 package.json 的 start:stdio)
CMD ["node", "server.js", "--http", "--port", "3000", "--host", "0.0.0.0"]