|
|
525c433937
|
fix: 移除重复用户创建,使用镜像预置的 bun 用户
CI/CD Pipeline / Code Quality (push) Successful in 22s
CI/CD Pipeline / Unit Tests (push) Successful in 15s
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Failing after 10s
CI/CD Pipeline / Deploy to Production (push) Has been skipped
- oven/bun:1.3 已包含 bun 用户,无需重复创建
- chown 使用 bun:bun 而非 bun:nodejs
|
2026-04-17 16:20:12 +08:00 |
|
|
|
f390e23ba7
|
fix: Dockerfile 兼容 Debian 基础镜像
CI/CD Pipeline / Code Quality (push) Successful in 15s
CI/CD Pipeline / Unit Tests (push) Successful in 10s
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Failing after 10s
CI/CD Pipeline / Deploy to Production (push) Has been skipped
- addgroup/adduser → groupadd/useradd (Alpine → Debian)
- 安装 curl 用于健康检查
|
2026-04-17 16:17:44 +08:00 |
|
|
|
2d8b07845f
|
fix: 更新 Dockerfile Bun 版本 1.1 → 1.3 以匹配本地版本
CI/CD Pipeline / Code Quality (push) Successful in 16s
CI/CD Pipeline / Unit Tests (push) Successful in 10s
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Failing after 9s
CI/CD Pipeline / Deploy to Production (push) Has been skipped
本地使用 Bun 1.3.11 生成的 lockfile 与 Bun 1.1.45 不兼容
|
2026-04-17 16:11:03 +08:00 |
|
|
|
81ecf3999d
|
fix: 修正 Dockerfile 中 lockfile 文件名
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Code Quality (push) Has been cancelled
CI/CD Pipeline / Build Test Image (push) Has been cancelled
CI/CD Pipeline / Build Production Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Test (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
bun.lockb → bun.lock(适配 Bun 1.1+ 文本格式)
|
2026-04-17 16:04:34 +08:00 |
|
|
|
e893755340
|
feat: 添加 CI/CD 部署方案(Gitea + Docker + 双分支工作流)
- Dockerfile: 多阶段构建,oven/bun 基础镜像,非 root 用户
- docker-compose.yml: 本地开发环境(API + MySQL + Drizzle Studio)
- docker-compose.prod.yml: 服务器部署(prod + test,Docker profiles)
- .gitea/workflows/deploy.yml: 双分支 CI/CD(develop→测试, main→生产)
- docs/ci-deployment-guide.md: 完整部署指南(Alibaba Cloud Linux 3)
- scripts/deploy.sh: 手动部署运维脚本
- .env.prod.example: 生产环境变量模板
- .dockerignore: 排除非构建文件
- .gitignore: 排除 .claude/ 目录
|
2026-04-16 12:44:14 +08:00 |
|