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"]