mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
Optimize Dockerfile: combine RUN commands, clear caches, add .dockerignore
- Combine apt-get update and install into single RUN with cache clearing - Remove APT lists after installation - Add --no-cache-dir to pip install - Add --prefer-offline --no-audit to npm install - Create .dockerignore to exclude unnecessary files from build context - Update docker-publish.yml workflow to tag images with release names - Ensure buildx caching is used (type=gha)
This commit is contained in:
parent
ea342f2382
commit
8210e7aba6
3 changed files with 98 additions and 15 deletions
|
|
@ -3,11 +3,73 @@
|
|||
.gitignore
|
||||
.gitmodules
|
||||
|
||||
# Dependencies
|
||||
node_modules
|
||||
|
||||
# CI/CD
|
||||
# GitHub
|
||||
.github
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
# Python
|
||||
__pycache__
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
*.so
|
||||
.Python
|
||||
.pytest_cache
|
||||
.mypy_cache
|
||||
.ruff_cache
|
||||
*.egg-info
|
||||
.eggs
|
||||
|
||||
# Virtual environments
|
||||
.venv
|
||||
venv/
|
||||
ENV/
|
||||
env/
|
||||
|
||||
# IDE
|
||||
.vscode
|
||||
.idea
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Environment files (secrets)
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Logs and data
|
||||
logs/
|
||||
data/
|
||||
tmp/
|
||||
temp_vision_images/
|
||||
testlogs
|
||||
wandb/
|
||||
|
||||
# Test files
|
||||
tests/
|
||||
*.test.py
|
||||
*.spec.py
|
||||
|
||||
# Documentation
|
||||
*.md
|
||||
!README.md
|
||||
|
||||
# CI/CD
|
||||
*.yml
|
||||
!package.json
|
||||
|
||||
# Development files
|
||||
examples/
|
||||
result
|
||||
.direnv/
|
||||
|
||||
# Release scripts
|
||||
.release_notes.md
|
||||
mini-swe-agent/
|
||||
|
||||
# Nix
|
||||
.direnv/
|
||||
result
|
||||
|
||||
# Skills hub
|
||||
skills/.hub/
|
||||
ignored/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue