feat: 新增 node-frontend-react-function 示例(React 19 函数组件 + Hooks,Tengine 托管)

This commit is contained in:
2026-11-15 11:58:42 +08:00
parent cd1c155256
commit abb39ea291
18 changed files with 587 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# 在示例目录下构建示例镜像(编译 + 运行两阶段均在本机 docker 内完成)
set -euo pipefail
cd "$(dirname "$0")"
IMAGE=${IMAGE:-registry.cn-shanghai.aliyuncs.com/odboy/kenaito:demo-node-frontend-react-function}
docker build -t "${IMAGE}" .
if [ "${PUSH:-0}" = "1" ]; then
docker push "${IMAGE}"
fi