Some checks failed
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
41 lines
1009 B
Plaintext
41 lines
1009 B
Plaintext
# Whitelist approach: ignore everything, then allow only what Docker builds need
|
|
# This reduces build context from ~900MB to just what's required
|
|
|
|
# Ignore everything first
|
|
*
|
|
|
|
# === n8n main image (docker/images/n8n/Dockerfile) ===
|
|
!compiled
|
|
!compiled/**
|
|
!THIRD_PARTY_LICENSES.md
|
|
|
|
# === runners image (docker/images/runners/Dockerfile + Dockerfile.distroless) ===
|
|
!dist
|
|
!dist/task-runner-javascript
|
|
!dist/task-runner-javascript/**
|
|
!packages
|
|
!packages/@n8n
|
|
!packages/@n8n/task-runner-python
|
|
!packages/@n8n/task-runner-python/**
|
|
|
|
# === Docker build files (entrypoints, configs) ===
|
|
!docker
|
|
!docker/images
|
|
!docker/images/n8n
|
|
!docker/images/n8n/docker-entrypoint.sh
|
|
!docker/images/runners
|
|
!docker/images/runners/n8n-task-runners.json
|
|
|
|
# === benchmark image (packages/@n8n/benchmark/Dockerfile) ===
|
|
!package.json
|
|
!pnpm-lock.yaml
|
|
!pnpm-workspace.yaml
|
|
!patches
|
|
!patches/**
|
|
!scripts
|
|
!scripts/**
|
|
!packages/@n8n/benchmark
|
|
!packages/@n8n/benchmark/**
|
|
!packages/@n8n/typescript-config
|
|
!packages/@n8n/typescript-config/**
|