forked from kreuzberg-dev/kreuzberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
33 lines (30 loc) · 832 Bytes
/
.dockerignore
File metadata and controls
33 lines (30 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# =============================================================================
# .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-pdfium-render/
!crates/kreuzberg-ffi/
!crates/kreuzberg-py/
!crates/kreuzberg-node/
!crates/kreuzberg-wasm/
!packages/elixir/native/kreuzberg_rustler/
!docker/
# Re-exclude build artifacts inside allowed dirs
**/target/
**/.git/
**/node_modules/
**/__pycache__/
**/*.pyc
**/*.so
**/*.dylib
**/*.dll
**/*.node