-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.dockerignore
More file actions
48 lines (43 loc) · 882 Bytes
/
Copy path.dockerignore
File metadata and controls
48 lines (43 loc) · 882 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
41
42
43
44
45
46
47
48
# The Dockerfile does `COPY . /app`, so whatever isn't excluded here lands in the
# published image. Keep the build context to what `pip install .` actually needs
# (pyproject.toml, README.md, LICENSE, src/) — and nothing that could leak.
# Version control + CI (never belongs in a runtime image)
.git
.gitignore
.github
.dockerignore
Dockerfile
# Virtualenvs, caches, build outputs
.venv
.venv*
**/__pycache__
**/*.py[cod]
.ruff_cache
.pytest_cache
*.egg-info
build/
dist/
uv.lock
# Tests, dev smokes, local scratch — not needed at runtime
tests/
scripts/
.scratch/
# Stray local artifacts
*.log
*.tar
*.tar.*
# Secrets — belt-and-suspenders. The Dockerfile uses an allow-list COPY so these
# never reach a layer, but keep them out of the build context the daemon receives.
.env
.env.*
*.env
*.pem
*.key
*.crt
id_*
*.pub
*.token
*.secret
.credentials/
.secrets/
.pypirc