Files
n8n-mcp/.gitignore
czlonkowski 3e037898c8 fix: simplify Docker build to resolve multi-platform failures
## Root cause
- Docker buildx memory options were incorrectly formatted
- Database build during Docker image creation was failing on multi-platform builds
- n8n native dependencies caused issues across different architectures

## Solution
- Removed invalid buildx driver-opts configuration
- Eliminated database build stage from Dockerfile
- Now using pre-built nodes.db file (11MB) from repository
- Fixed .dockerignore to include nodes.db in build context
- Added .dockerignore to version control (was incorrectly gitignored)

## Benefits
- Faster builds (no n8n package installation during build)
- More reliable multi-platform builds (amd64 + arm64)
- Simpler Dockerfile (3 stages instead of 4)

Database can still be rebuilt locally using 'npm run rebuild' when needed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 16:05:25 +02:00

90 lines
1.0 KiB
Plaintext

# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env*.local
# Build output
dist/
build/
out/
.next/
.nuxt/
.cache/
.parcel-cache/
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
# Logs
logs/
*.log
# Testing
coverage/
.nyc_output/
# TypeScript
*.tsbuildinfo
.tsc-cache/
# Package manager files
.npm/
.yarn/
.pnp.*
.yarn-integrity
# Docker
docker-compose.override.yml
# Miscellaneous
.eslintcache
.stylelintcache
*.pid
*.seed
*.pid.lock
.grunt/
.lock-wscript
.node_repl_history
.npmrc
.yarnrc
# Temporary files
temp/
tmp/
# Database files
data/*.db
data/*.db-journal
data/*.db.bak
!data/.gitkeep
# Claude Desktop configs (personal)
claude_desktop_config.json
claude_desktop_config_*.json
!claude_desktop_config.example.json
# Personal wrapper scripts
mcp-server-v20.sh
rebuild-v20.sh
!mcp-server-v20.example.sh
# n8n-docs repo (cloned locally)
../n8n-docs/