mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 06:51:16 +08: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.
202 B
202 B