mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-06 20:42:52 +08:00
Docker 优化: - Dockerfile 层缓存(requirements/lockfile 先复制再安装) - ARG 可配置镜像源,国际用户可覆盖为默认源 - 前端 Dockerfile 改用 corepack + frozen-lockfile - 精简 .dockerignore,排除 .git 和 Tauri 构建产物 CI/CD 优化: - docker-build 自动推送到 GHCR,支持 amd64/arm64 双架构 - 桌面端 CI 增加 pip/pnpm/cargo 缓存,升级 actions 版本 - Python 版本对齐为 3.11,增加 Linux 构建矩阵 - build.sh 加 -y 覆盖标志 文档更新: - README Docker 部署简化为 docker pull + docker run Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
447 B
Plaintext
36 lines
447 B
Plaintext
# Git 和 IDE
|
|
.git
|
|
.github
|
|
.idea/
|
|
.vscode/
|
|
.DS_Store
|
|
|
|
# Tauri 构建产物(非常大)
|
|
BillNote_frontend/src-tauri/target
|
|
BillNote_frontend/src-tauri/bin
|
|
|
|
# 运行时数据
|
|
backend/data
|
|
backend/static
|
|
backend/models
|
|
backend/logs
|
|
backend/uploads
|
|
backend/*.db
|
|
backend/note_results
|
|
backend/bin/
|
|
|
|
# 依赖和构建缓存
|
|
node_modules/
|
|
__pycache__/
|
|
*.py[cod]
|
|
dist/
|
|
build/
|
|
*.tar
|
|
*.egg-info/
|
|
|
|
# 环境文件
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
!.env.example
|