feat: add Cloudflare MCP Dockerfile
This commit is contained in:
20
apps/ollama-mcp/mcp-cloudflare/Dockerfile
Normal file
20
apps/ollama-mcp/mcp-cloudflare/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user