- Updated all Dockerfiles from node:20-alpine to node:22-alpine - Addresses known vulnerabilities in older Alpine images - Provides better long-term support with Node.js 22 LTS (until April 2027) - Updated documentation to reflect new base image version - Tested and verified compatibility with all dependencies 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
577 B
Docker
24 lines
577 B
Docker
# Quick test Dockerfile using pre-built files
|
|
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy only the essentials
|
|
COPY package*.json ./
|
|
COPY dist ./dist
|
|
COPY data ./data
|
|
COPY docker/docker-entrypoint.sh /usr/local/bin/
|
|
COPY .env.example ./
|
|
|
|
# Install only runtime dependencies
|
|
RUN npm install --production @modelcontextprotocol/sdk better-sqlite3 express dotenv
|
|
|
|
# Make entrypoint executable
|
|
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
|
|
|
# Set environment
|
|
ENV IS_DOCKER=true
|
|
ENV MCP_MODE=stdio
|
|
|
|
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|
|
CMD ["node", "dist/mcp/index.js"] |