mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
The Dockerfile declares VOLUME /opt/data and the published docker-compose flow bind-mounts ./data:/opt/data for runtime state. Because .dockerignore did not list data/, any file the container writes under /opt/data leaks back into the build context on the next `docker compose build`. This becomes a hard failure when the container writes a dangling symlink there — e.g. PulseAudio's XDG runtime entry (data/.config/pulse/<host>-runtime -> /tmp/pulse-*) whose target only exists inside the container. Docker's tar packer cannot resolve the broken symlink on the host and aborts context load with `invalid file request`. Excluding data/ keeps build context clean, shrinks the context tarball (logs/, sessions/, memories/ no longer shipped), and matches the intent already expressed in .gitignore.
19 lines
202 B
Text
19 lines
202 B
Text
# Git
|
|
.git
|
|
.gitignore
|
|
.gitmodules
|
|
|
|
# Dependencies
|
|
node_modules
|
|
.venv
|
|
|
|
# CI/CD
|
|
.github
|
|
|
|
# Environment files
|
|
.env
|
|
|
|
*.md
|
|
|
|
# Runtime data (bind-mounted at /opt/data; must not leak into build context)
|
|
data/
|