chore: Update .dockerignore and GitHub Actions for improved caching

This commit is contained in:
wizardchen
2026-04-23 13:27:47 +08:00
committed by lyingbug
parent 75b033d2f5
commit 0b8ec2ddcf
2 changed files with 82 additions and 9 deletions
+74 -1
View File
@@ -1,2 +1,75 @@
# VCS / CI
.git/
.github/
.gitignore
.gitattributes
# 编辑器 / IDE 本地配置
.cursor/
.claude/
.codebuddy/
.vscode/
.idea/
*.swp
*.swo
.DS_Store
# Python 虚拟环境 / 缓存
**/.venv/
**/.python-version
.venv_proto/
**/.python-version
**/__pycache__/
**/*.pyc
# Node / 前端
# 注意:build-ui 用的 context 是 ./frontend,根 .dockerignore 对它无效,
# 其它镜像(app/docreader/sandbox)的 Dockerfile 都不引用 frontend/,
# 所以这里可以直接排除整个 frontend/ 目录。
**/node_modules/
frontend/
WeKnora-Chrome-Extension/
# 日志 / 临时文件
logs/
tmp/
temp/
*.log
*.pid
# 本地构建产物 / 二进制
WeKnora
WeKnora-lite
/server
/dist/
/build/
cmd/desktop/build/bin/
# 本地数据 / 模型文件
/models/
data/files/
data/*.db
data/*.db-wal
data/*.db-shm
test/data/mswag.txt
# 敏感文件
.env
.env.lite
*.pem
*.key
*.crt
*_key
*_secret
# 大的归档/压缩包
packages/protoc-*.zip
# 本地测试脚本
configure-ollama.sh
fix-docker.sh
/scripts/scale_dev_jobs.sh
# 文档(不影响构建)
docs/
*.md
!README.md