feat(parent-portal): docker 构建修复 + 禁用 mock + 记录下游待办
Dockerfile 改用 standalone 模式 next.config.js 添加 output standalone 修复 cssnano-simple 构建失败:globals.css 注释含 */ 被误解析 tailwind.config.js 覆盖 boxShadow 为 rgba 格式 + 禁用 ringWidth 组件修复:替换 / 语法为 inline style 或自定义类 otel.ts 添加 webpackIgnore 跳过 optionalDependencies 静态分析 .env.example 默认禁用 mock 新增 .dockerignore 和 docs/nextstep.md 删除 postcss.config.js 验证:Docker 镜像构建成功,容器 healthy,typecheck + lint 零错误
This commit is contained in:
92
.dockerignore
Normal file
92
.dockerignore
Normal file
@@ -0,0 +1,92 @@
|
||||
# 依赖目录(构建时重新安装)
|
||||
**/node_modules
|
||||
.pnpm-store
|
||||
|
||||
# 构建产物
|
||||
**/.next
|
||||
**/out
|
||||
**/dist
|
||||
**/build
|
||||
**/coverage
|
||||
**/target
|
||||
**/bin
|
||||
**/obj
|
||||
|
||||
# Go 构建产物
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
*.test
|
||||
*.out
|
||||
|
||||
# Python 缓存
|
||||
**/__pycache__
|
||||
**/*.py[cod]
|
||||
**/*$py.class
|
||||
**/.venv
|
||||
**/venv
|
||||
**/*.egg-info
|
||||
|
||||
# 环境变量与本地配置
|
||||
.env*.local
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Secrets / Keys
|
||||
keys/
|
||||
*.pem
|
||||
*.key
|
||||
secrets/
|
||||
|
||||
# IDE 与编辑器
|
||||
.vscode
|
||||
.idea
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
# 平台与临时文件
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
*.tmp
|
||||
*.bak
|
||||
|
||||
# TypeScript 增量构建缓存
|
||||
*.tsbuildinfo
|
||||
|
||||
# 测试覆盖率报告
|
||||
.nyc_output
|
||||
**/coverage
|
||||
|
||||
# 日志
|
||||
*.log
|
||||
logs/
|
||||
|
||||
# 数据库文件
|
||||
*.db
|
||||
*.sqlite
|
||||
arch.db
|
||||
|
||||
# Docker
|
||||
docker-compose.override.yml
|
||||
docker-compose.minimal.override.yml
|
||||
|
||||
# 临时目录
|
||||
tmp/
|
||||
temp/
|
||||
.turbo
|
||||
.cache
|
||||
|
||||
# 文档(不需要打包到镜像)
|
||||
docs/
|
||||
**/docs/
|
||||
*.md
|
||||
!README.md
|
||||
Reference in New Issue
Block a user