-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy path.dockerignore
More file actions
135 lines (120 loc) · 4.43 KB
/
.dockerignore
File metadata and controls
135 lines (120 loc) · 4.43 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# =============================================================================
# Root .dockerignore for fhevm repository
# =============================================================================
# This file reduces Docker build context size when builds use the repo root as
# context (e.g., test-suite/fhevm/docker-compose/*.yml files).
#
# IMPORTANT: Do not exclude paths that Dockerfiles COPY from:
# - coprocessor/fhevm-engine/
# - coprocessor/proto/
# - gateway-contracts/
# - kms-connector/
# - host-contracts/
# - library-solidity/
# - test-suite/
# - package.json, package-lock.json
# - .git/ (used for build metadata in some Dockerfiles)
# =============================================================================
# -----------------------------------------------------------------------------
# Rust build artifacts (CRITICAL - can be GB-scale)
# -----------------------------------------------------------------------------
**/target/
# -----------------------------------------------------------------------------
# FHE keys (CRITICAL - can be GB-scale, mounted at runtime)
# -----------------------------------------------------------------------------
**/fhevm-keys/
**/*.fhekey
# -----------------------------------------------------------------------------
# Node.js dependencies and build artifacts
# -----------------------------------------------------------------------------
**/node_modules/
**/dist/
**/.next/
**/.turbo/
**/.cache/
# -----------------------------------------------------------------------------
# IDE and OS files
# -----------------------------------------------------------------------------
.idea/
.vscode/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
# -----------------------------------------------------------------------------
# Test artifacts and coverage
# -----------------------------------------------------------------------------
**/coverage/
**/.nyc_output/
**/junit.xml
**/*.lcov
# -----------------------------------------------------------------------------
# Logs
# -----------------------------------------------------------------------------
**/*.log
**/npm-debug.log*
**/yarn-debug.log*
**/yarn-error.log*
# -----------------------------------------------------------------------------
# Documentation (not needed for builds)
# Large PDF files and markdown docs that aren't required by Dockerfiles
# -----------------------------------------------------------------------------
docs/
charts/
*.pdf
**/*.md
!**/README.md
# Re-include README.md files since some tooling might expect them
# (though they're generally not needed for Docker builds)
# -----------------------------------------------------------------------------
# Python artifacts
# -----------------------------------------------------------------------------
**/__pycache__/
**/*.pyc
**/*.pyo
**/.venv/
**/venv/
**/.pytest_cache/
# -----------------------------------------------------------------------------
# Environment files with secrets (local overrides are gitignored)
# Keep base .env.* templates as they're tracked in git
# -----------------------------------------------------------------------------
**/.env
**/.env.local
**/.env.*.local
# -----------------------------------------------------------------------------
# Git-related (keep .git/ for build metadata, exclude others)
# -----------------------------------------------------------------------------
.git/lfs/
.gitignore
.gitattributes
**/.gitkeep
# -----------------------------------------------------------------------------
# CI/CD and config files not needed in builds
# -----------------------------------------------------------------------------
.github/
.devcontainer/
.mergify.yml
.commitlintrc.json
.hadolint.yaml
.linkspector.yml
.prettierrc.yml
.prettierignore
.slither.config.json
.npmrc
CODE_OF_CONDUCT.md
LICENSE
SECURITY.md
# -----------------------------------------------------------------------------
# Golden container images (base image definitions, not needed in app builds)
# -----------------------------------------------------------------------------
golden-container-images/
# -----------------------------------------------------------------------------
# SDK (not used by any Dockerfile)
# -----------------------------------------------------------------------------
sdk/
# -----------------------------------------------------------------------------
# CI directory (not used by any Dockerfile)
# -----------------------------------------------------------------------------
ci/