Files

156 lines
4.7 KiB
Plaintext

*
!Dockerfile.recording-rasterizer
!.devcontainer
!.kearc
!bin
!common/scriptvm
!common/esbuilder
!common/migration_utils
!common/mosaic
!common/replay-headless
!common/replay-shared
!common/plugin_transpiler/*.*
!common/plugin_transpiler/src
!common/tailwind
# Both are COPYd by Dockerfile.node and both exist in this tree, but the
# first rule here is `*` — so without a re-include the COPY resolves to
# nothing and the build stops with `failed to compute cache key`, which
# names a checksum rather than the path it could not find. Same reason
# common/insightsql_parser is listed below.
!common/insights-node
!common/plugin-scaffold
# Upstream installs its parser from PyPI, so upstream's .dockerignore has no
# line for it and the import dropped ours. We build ours from source —
# pyproject points insightsql-parser at this directory and the insights-build
# stage COPYs it — and this file's first rule is `*`, so without a re-include
# the COPY resolves to nothing and the build stops there.
!common/insightsql_parser
!packages/quill
!dags
!docs/onboarding
!ee
!frontend/@hanzo
!frontend/*.*
!frontend/.storybook
!frontend/bin
!frontend/public
!frontend/src
!frontend/types
!frontend/babel.config.js
!frontend/webpack.config.js
!gunicorn.config.py
!manage.py
!turbo.json
!package.json
!patches
!playwright.config.ts
!nodejs
!nodejs/.eslintrc.js
!nodejs/.prettierrc
!nodejs/package.json
!nodejs/pnpm-lock.yaml
!nodejs/src
!nodejs/assets
!nodejs/tsconfig.eslint.json
!nodejs/tsconfig.json
!services/mcp
!services/mcp/package.json
!services/mcp/tsconfig.json
!services/mcp/scripts
!services/mcp/src
!services/mcp/shared
!services/mcp/types.d.ts
!services/mcp/worker-configuration.d.ts
!services/mcp/public
!packages/quill
services/agent-*/node_modules
services/agent-*/dist
services/agent-*/.next
!services/agent-proxy
!services/agent-proxy/package.json
!services/agent-proxy/tsconfig.json
!services/agent-proxy/scripts
!services/agent-proxy/src
!services/agent-proxy/types.d.ts
!pnpm-lock.yaml
!pnpm-workspace.yaml
!pyproject.toml
!uv.lock
!insights
!insights.json
!products
!requirements-dev.txt
!requirements.txt
!rust
# rust/.cargo/config.toml sets SQLX_OFFLINE=true, and offline mode reads the
# committed query cache — so the cache has to be IN the context. `!rust` does
# not cover it: the first rule here is `*`, and a re-include of a directory
# does not pull in a dot-entry beneath it. Listed explicitly so that once
# `cargo sqlx prepare` output is committed, the build actually sees it
# instead of failing again with `no cached data for this query`.
!rust/.sqlx
!share/GeoLite2-City.mmdb
!staticfiles
!tailwind.config.js
!tools/insightscli
!tools/openapi-codegen
!tools/owners
!tools/pr-approval-agent
!tsconfig.json
!unit.json.tpl
common/*/*/node_modules
common/*/node_modules
common/*/*/dist
common/*/dist
packages/quill/**/node_modules
packages/quill/**/dist
products/**/node_modules
# Nested standalone workspace, not imported by any server image; `!products` above
# would otherwise pull ~56 MiB of desktop assets into every image build context.
products/desktop
nodejs/node_modules
# The image-scrub sidecar is a standalone package nested in nodejs/src; keep its deps and (Stage-2) model
# artifacts out of the plugin-server build context.
nodejs/src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar/node_modules
nodejs/src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar/models
nodejs/src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar/corpus
nodejs/src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar/test-data
nodejs/src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar/out
nodejs/src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar/tmp
nodejs/src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar/*.traineddata
services/mcp/node_modules
services/mcp/dist
services/mcp/.wrangler
services/mcp/tests
services/agent-proxy/node_modules
services/agent-proxy/dist
services/agent-proxy/tests
ee/**/node_modules
docs/**/node_modules
**/__pycache__
rust/.env
rust/.github
rust/cyclotron-node/dist
rust/cyclotron-node/index.node
rust/cyclotron-node/node_modules
rust/docker
rust/target
**/__snapshots__
!docker-compose.base.yml
!docker-compose.dev.yml
!docker
# Test / story / spec sources are never needed to build or run any image. Excluding them keeps them
# out of the COPYed layers and stops test-only edits from busting the collectstatic + frontend-build
# cache. Shared by all Dockerfiles — no image build (main, node, llm-analytics, etc.) needs them.
products/**/test_*.py
products/**/*_test.py
products/**/*.test.*
products/**/*.spec.*
products/**/*.stories.*
frontend/src/**/*.test.*
frontend/src/**/*.spec.*
frontend/src/**/*.stories.*