From eb43a5b5d8c9a27ff59f61b59d675901b3b1390b Mon Sep 17 00:00:00 2001 From: zer0 spirits <122831462+Archerouyang@users.noreply.github.com> Date: Fri, 5 Jun 2026 07:53:42 +0800 Subject: [PATCH] chore: improve .dockerignore with Python and common patterns (#6092) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 欧阳 --- .dockerignore | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.dockerignore b/.dockerignore index 3c16d71b2..ee3947b25 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,6 +3,21 @@ .gitignore .gitmodules +# Python +__pycache__ +*.py[cod] +*$py.class +*.so +.Python +*.egg-info/ +dist/ +build/ + +# Virtual environments +venv/ +env/ +ENV/ + # Dependencies node_modules **/node_modules @@ -24,7 +39,20 @@ ui-tui/packages/hermes-ink/dist/ # Environment files .env +.env.* +# IDE +.vscode/ +.idea/ +*.swp +*.swo + +# Testing +.pytest_cache/ +.coverage +htmlcov/ + +# Documentation *.md # Runtime data (bind-mounted at /opt/data; must not leak into build context)