feat: add Cloudflare MCP Dockerfile

This commit is contained in:
Claude AI
2026-03-01 19:46:48 +00:00
parent 3d7f3fdf4c
commit 4976d0b0b2

View File

@@ -0,0 +1,20 @@
FROM node:20-alpine
LABEL maintainer="Vladimiras Levinas"
LABEL description="MCP Cloudflare Server for DNS and Workers management"
WORKDIR /app
COPY package.json ./
RUN npm install --production && npm cache clean --force
COPY index.js ./
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost:3000/health || exit 1
EXPOSE 3000
USER node
CMD ["npm", "start"]