MCP Distant

This commit is contained in:
2026-07-15 22:40:52 +02:00
parent 4d8fb9bab8
commit fa318f240c
9 changed files with 534 additions and 149 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM node:20-bookworm-slim
WORKDIR /app
ENV NODE_ENV=production
COPY package.json package-lock.json* ./
RUN npm install --omit=dev
COPY tools.js http-server.js ./
EXPOSE 4100
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=10s \
CMD node -e "fetch('http://localhost:4100/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"
CMD ["node", "http-server.js"]