Skip to content

fix(docker): exclude compose/profile runtime state from build context#19626

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-8c54fd4a
May 4, 2026
Merged

fix(docker): exclude compose/profile runtime state from build context#19626
teknium1 merged 1 commit into
mainfrom
hermes/hermes-8c54fd4a

Conversation

@teknium1
Copy link
Copy Markdown
Contributor

@teknium1 teknium1 commented May 4, 2026

Salvage of #15263 onto current main.\n\n## Summary\nAdd and to .dockerignore. Compose/profile setups keep runtime state outside the image via bind mounts; including those dirs in the build context slows builds, risks ownership issues, and can leak local secrets.\n\n## Validation\nManual review; diff scope self-contained.\n\nOriginal PR: #15263

@teknium1 teknium1 merged commit d7663c7 into main May 4, 2026
6 of 8 checks passed
@teknium1 teknium1 deleted the hermes/hermes-8c54fd4a branch May 4, 2026 09:31
@alt-glitch alt-glitch added type/refactor Code restructuring, no behavior change area/docker Docker image, Compose, packaging P3 Low — cosmetic, nice to have labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docker Docker image, Compose, packaging P3 Low — cosmetic, nice to have type/refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants