mirror of
https://github.com/vegu-ai/talemate.git
synced 2026-08-29 10:08:58 +02:00
* fix: keep host node_modules out of the Docker build context (issue #333) * fix: keep docs/ in the Docker build context for the help agent * feat: ship the documentation markdown in the Docker image so the help agent is grounded
37 lines
965 B
Plaintext
37 lines
965 B
Plaintext
# Build context excludes. Every path the Dockerfile COPYs from the context must
|
|
# stay out of this list: talemate_frontend/, src/, docs/, scenes/, templates/,
|
|
# tts/, chroma*, pyproject.toml, uv.lock, frontend_wsgi.py, config.example.yaml
|
|
# and docker-entrypoint.sh.
|
|
|
|
.git
|
|
.github
|
|
tests
|
|
|
|
# docs/ is NOT excluded. The help agent reads TALEMATE_ROOT/docs at runtime, so
|
|
# the backend-build stage copies it and keeps the markdown.
|
|
|
|
# A host node_modules lands on top of the one the image installed. pnpm then
|
|
# reads the host's own paths out of it, decides the dependencies are stale, and
|
|
# reinstalls mid-build - which aborts when no TTY can confirm the purge.
|
|
**/node_modules
|
|
talemate_frontend/dist
|
|
|
|
.venv
|
|
talemate_env
|
|
embedded_python
|
|
embedded_node
|
|
**/__pycache__
|
|
**/*.pyc
|
|
*.egg-info
|
|
.pytest_cache
|
|
.ruff_cache
|
|
.coverage
|
|
|
|
# Runtime state and credentials. docker-compose mounts these as volumes, so an
|
|
# image layer never needs them.
|
|
config.yaml
|
|
secrets
|
|
pi
|
|
logs
|
|
chats
|