ci: 添加 Docker + Jenkins 自动化部署配置

- Dockerfile 多阶段构建,standalone 模式输出
- Jenkinsfile 定义 GitLab 触发的 CI/CD 流水线
- docker-compose.yml 简化部署
- next.config.ts 开启 standalone 输出
This commit is contained in:
2026-02-25 12:10:32 +08:00
parent cc7f6d55a7
commit 76bd7b4756
5 changed files with 135 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
services:
app:
build: .
image: no-whatever:latest
container_name: no-whatever
ports:
- "3000:3000"
volumes:
- app-data:/app/data
environment:
- DATABASE_URL=file:/app/data/dev.db
restart: unless-stopped
volumes:
app-data: