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:
@@ -1,6 +1,7 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
poweredByHeader: false,
|
||||
|
||||
images: {
|
||||
|
||||
Reference in New Issue
Block a user