feat(polaris)!: 改为 standalone 容器运行
Polaris CI / verify (push) Successful in 1m47s

将 Next.js 构建切换为 standalone,新增多阶段 Docker 镜像和非 root 运行。
CI 改为启动服务检查页面与静态资源,并移除静态导出校验。

BREAKING CHANGE: 不再生成 out/ 静态产物,部署需运行 Node 服务容器。
This commit is contained in:
2026-10-12 17:42:26 +08:00
parent 09e5735162
commit 2c674b7f2d
9 changed files with 126 additions and 61 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type { NextConfig } from "next"
const nextConfig: NextConfig = {
output: "export",
output: "standalone",
trailingSlash: true,
images: {
unoptimized: true,