-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
49 lines (43 loc) · 1.52 KB
/
Copy path.dockerignore
File metadata and controls
49 lines (43 loc) · 1.52 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
# The Dockerfile ends in `COPY . .`, so anything not excluded here is baked
# into the production image.
#
# This file exists because of a real failure, caught the first time the image
# was booted locally as part of the network-standard rollout: a developer's
# `.env` (DASH_BACKEND=fastapi) was copied in, and the container died at boot
# with "Could not import dash.backends._fastapi" — the FastAPI extra is not
# installed in this image. It never showed up in CI, where the checkout has no
# `.env` at all, which is exactly what makes it worth a file rather than a
# lesson. The same COPY would carry real Clerk keys and the webhook secret
# into an image layer on any machine that has them.
# Secrets and per-developer configuration
.env
.env.*
!.env.example
flask_session/
# Local state — the analytics ledger is a live file; an image must not ship
# one developer's visits (and Render mounts a disk for it anyway).
visitor_analytics.json
visitor_analytics.json.lock
.satellite_report.lease
# Build environments the image rebuilds itself
.venv/
venv/
node_modules/
__pycache__/
*.py[cod]
# VCS, tooling and caches
.git/
.gitignore
.github/
.idea/
.vscode/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.claude/
# Nothing in the image runs these
tests/
# NOT excluded, deliberately: docs/**/*.md and pages/home.md ARE the app.
# pages/markdown.py globs them at import time and the whole site is built from
# them, so a blanket `*.md` rule here would produce an image that boots with
# zero pages. Do not "tidy" markdown out of the build context.