-
Notifications
You must be signed in to change notification settings - Fork 583
Expand file tree
/
Copy path.dockerignore
More file actions
40 lines (37 loc) · 962 Bytes
/
Copy path.dockerignore
File metadata and controls
40 lines (37 loc) · 962 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
34
35
36
37
38
39
40
# =============================================================================
# .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/xberg/
!crates/xberg-gliner/
!crates/xberg-cli/
!crates/xberg-tesseract/
!crates/xberg-paddle-ocr/
!crates/xberg-candle-ocr/
!crates/xberg-pdfium-render/
!crates/xberg-native-pdf/
!crates/xberg-ffi/
!crates/xberg-libheif/
!crates/xberg-libwpd/
!crates/xberg-py/
!packages/python/
!crates/xberg-node/
!crates/xberg-wasm/
!packages/elixir/native/xberg_nif/
!docker/
!scripts/ci/vendor-native-closure.sh
# Re-exclude build artifacts inside allowed dirs
**/target/
**/.git/
**/node_modules/
**/__pycache__/
**/*.pyc
**/*.so
**/*.dylib
**/*.dll
**/*.node