Polaris CI / verify (push) Successful in 1m47s
将 Next.js 构建切换为 standalone,新增多阶段 Docker 镜像和非 root 运行。 CI 改为启动服务检查页面与静态资源,并移除静态导出校验。 BREAKING CHANGE: 不再生成 out/ 静态产物,部署需运行 Node 服务容器。
43 lines
505 B
Plaintext
43 lines
505 B
Plaintext
# VCS
|
|
.git
|
|
.gitignore
|
|
.gitattributes
|
|
|
|
# Dependencies & build artifacts (rebuilt inside the image)
|
|
node_modules
|
|
.next
|
|
out
|
|
coverage
|
|
.vercel
|
|
.turbo
|
|
|
|
# Env files & secrets — never ship credentials into the build context
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
*.pem
|
|
*.key
|
|
*.p12
|
|
credentials*.json
|
|
secrets*
|
|
|
|
# Logs & OS noise
|
|
*.log
|
|
npm-debug.log*
|
|
pnpm-debug.log*
|
|
yarn-error.log*
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Docker files themselves
|
|
Dockerfile
|
|
.dockerignore
|
|
|
|
# IDE & editor
|
|
.idea
|
|
.vscode
|
|
|
|
# Non-build project content
|
|
docs
|
|
.github
|