Skip to content

chore: improve .dockerignore with Python and common patterns - #6092

Merged
benbarclay merged 1 commit into
NousResearch:mainfrom
archerthegoat:fix/dockerignore-improvements
Jun 4, 2026
Merged

chore: improve .dockerignore with Python and common patterns#6092
benbarclay merged 1 commit into
NousResearch:mainfrom
archerthegoat:fix/dockerignore-improvements

Conversation

@archerthegoat

Copy link
Copy Markdown
Contributor

Summary

This PR improves the .dockerignore file to reduce Docker build context size and improve build performance.

Changes

Added common ignore patterns:

  • Python cache files: __pycache__, *.pyc, *.pyo, *.egg-info/
  • Virtual environments: venv/, env/, ENV/
  • IDE files: .vscode/, .idea/, *.swp
  • Test artifacts: .pytest_cache/, .coverage, htmlcov/
  • Build artifacts: dist/, build/
  • Environment files: .env.* (in addition to existing .env)

Benefits

  • Smaller Docker build context
  • Faster Docker builds
  • Less noise in build output
  • Follows Python/Docker best practices

Testing

  • Verified file syntax is valid
  • Patterns cover common Python project artifacts

@alt-glitch alt-glitch added type/refactor Code restructuring, no behavior change P3 Low — cosmetic, nice to have area/docker Docker image, Compose, packaging labels Apr 30, 2026
@benbarclay
benbarclay merged commit eb43a5b into NousResearch:main Jun 4, 2026
davidgut1982 pushed a commit to davidgut1982/hermes-agent that referenced this pull request Jun 5, 2026
…earch#6092)

Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
changman pushed a commit to changman/hermes-agent that referenced this pull request Jun 10, 2026
alt-glitch pushed a commit that referenced this pull request Jun 14, 2026
Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
kossteg pushed a commit to kossteg/hermes-agent that referenced this pull request Jun 16, 2026
T02200059 pushed a commit to T02200059/hermes-agent that referenced this pull request Jun 18, 2026
…earch#6092)

Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
xyshanren pushed a commit to xyshanren/hermes-agent-cn that referenced this pull request Jun 25, 2026
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
…earch#6092)

Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
…earch#6092)

Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
donbowman pushed a commit to donbowman/hermes-agent that referenced this pull request Jul 13, 2026
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
…earch#6092)

Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
…earch#6092)

Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
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