mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-22 17:07:46 +08:00
feat: 添加 Docker 和 GitHub Actions 支持
- 添加 docker/Dockerfile 多阶段构建(前端+后端) - 添加 docker-compose.yml 支持阿里云镜像部署 - 添加 .github/workflows/release.yml 自动发布到阿里云 - 添加 .dockerignore 优化构建 - 添加 VERSION 版本管理文件 - 添加 start.mjs 本地开发启动脚本
This commit is contained in:
50
.dockerignore
Normal file
50
.dockerignore
Normal file
@@ -0,0 +1,50 @@
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
|
||||
# Python
|
||||
__pycache__
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
*.so
|
||||
.Python
|
||||
.venv
|
||||
venv
|
||||
ENV
|
||||
|
||||
# IDE
|
||||
.idea
|
||||
.vscode
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# Node
|
||||
webui/node_modules
|
||||
webui/.vite
|
||||
|
||||
# Build artifacts (前端构建产物在 Docker 中重新生成)
|
||||
static/admin
|
||||
|
||||
# 配置和敏感文件
|
||||
.env
|
||||
.env.*
|
||||
config.json
|
||||
|
||||
# 日志和临时文件
|
||||
*.log
|
||||
logs/
|
||||
tmp/
|
||||
temp/
|
||||
|
||||
# 测试
|
||||
tests/
|
||||
*.test.py
|
||||
|
||||
# 文档和截图
|
||||
*.md
|
||||
截图/
|
||||
docs/
|
||||
|
||||
# Claude Code
|
||||
.claude/
|
||||
CLAUDE*.md
|
||||
Reference in New Issue
Block a user