ouroboros/.dockerignore
bogeyboy bc9482b081
chore: ignore graphify-out, add .dockerignore (#1255)
Ignore graphify-out and add a root .dockerignore for the Docker build
context (COPY . .).

Contributed by @komsikov; maintainer fixups after triad+scope review:
root-anchored ignore entries, secrets/host envs/runtime and review state
kept out of image layers while .git, tests/ and sources stay in (CI runs
pytest inside the image), pinned by TestDockerignore and mapped in
docs/architecture/08.

Squash-merged so the PR's rewritten copy of the #1250 merge commit
(6972dea6) does not enter history.

Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com>
2026-09-24 19:14:54 +03:00

47 lines
976 B
Text

# Build context for `docker build -t ouroboros-web .` (Dockerfile: COPY . .).
# Keep secrets, host environments and local runtime/operator state out of image
# layers. Do NOT exclude .git, tests/ or sources: CI builds this image and
# runs pytest inside it, and the agent needs its own Git history.
# tests/test_build_scripts.py::TestDockerignore pins both halves.
# Secrets (mirrors .gitignore)
**/.env
**/.env.*
**/*.key
**/*.pem
# Host environments, IDE state and caches
.venv/
venv/
env/
**/node_modules/
**/__pycache__/
**/*.pyc
.pytest_cache/
.mypy_cache/
.ruff_cache/
.cursor/
.vscode/
.idea/
# Local runtime, review and operator state (never tracked; see .gitignore)
/data/
/logs/
/.tmp-data-*/
/.review-drive/
/.claudexor/
/.adversarial-review/
/.review-evidence-iter2/
# Build output and bundled runtimes
/dist/
/build/
/python-standalone/
/node-standalone/
/ripgrep-standalone/
/betterleaks-standalone/
/claudexor-runtime/
# Other
/.devcontainer
/graphify-out