feat(admin-portal): docker 本地测试通过 + 下游工作清单
docker Desktop 本地验证: - 镜像构建成功(edu/admin-portal:test) - 容器运行正常(端口 4003) - /api/health、/api/ready、/login、/admin/dashboard 全部 200 修复项: - next.config.js 添加 output: standalone - package.json 添加 autoprefixer 依赖 - login/layout.tsx 提供 AuthProvider/ToastProvider 部署配置: - docker-compose.deploy.yml 添加 admin-portal 服务 - deploy.env.example 添加 ADMIN_PORTAL_PORT 下游工作清单(nextstep.md): - api-gateway: 缺 /api/admin/graphql 路由 - teacher-bff: 缺 16 Query + 11 Mutation - iam: 缺 BatchGetUsers 等 RPC
This commit is contained in:
@@ -3,6 +3,7 @@ const NextFederationPlugin = require("@module-federation/nextjs-mf");
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
output: "standalone",
|
||||
transpilePackages: [
|
||||
"@edu/ui-tokens",
|
||||
"@edu/ui-components",
|
||||
|
||||
Reference in New Issue
Block a user