diff --git a/apps/ollama-mcp/mcp-cloudflare/Dockerfile b/apps/ollama-mcp/mcp-cloudflare/Dockerfile new file mode 100644 index 0000000..705fb75 --- /dev/null +++ b/apps/ollama-mcp/mcp-cloudflare/Dockerfile @@ -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"]