chore: 添加 Docker 部署配置

- Dockerfile: 多阶段构建(deps → build → runner)
- docker-compose.yml: 一键部署,数据持久化到 volume
- next.config.ts: output standalone 模式
- .dockerignore: 排除 node_modules、.next、dev.db
This commit is contained in:
胡旭
2026-06-24 15:25:37 +08:00
parent 43e1c2f61d
commit 2f1a7c906d
4 changed files with 78 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
poweredByHeader: false,
images: {