# ============================================================================= # .dockerignore — Docker builds only need Cargo.toml, Cargo.lock, and crates/ # Exclude everything else to minimize context and speed up builds. # ============================================================================= # Start by ignoring everything * # Allow only what Docker builds need !Cargo.toml !Cargo.lock !crates/kreuzberg/ !crates/kreuzberg-cli/ !crates/kreuzberg-tesseract/ !crates/kreuzberg-paddle-ocr/ !crates/kreuzberg-ffi/ !crates/kreuzberg-py/ !crates/kreuzberg-node/ !crates/kreuzberg-wasm/ !packages/elixir/native/kreuzberg_nif/ !docker/ # Re-exclude build artifacts inside allowed dirs **/target/ **/.git/ **/node_modules/ **/__pycache__/ **/*.pyc **/*.so **/*.dylib **/*.dll **/*.node