feat: 新增 python310-flask 构建示例(demo/python310-flask)

This commit is contained in:
2026-06-13 21:47:15 +08:00
parent 6af17a9d4f
commit c732877fd8
11 changed files with 247 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# 在示例目录下构建示例镜像
set -euo pipefail
cd "$(dirname "$0")"
IMAGE=${IMAGE:-registry.cn-shanghai.aliyuncs.com/odboy/kenaito:demo-python310-flask}
docker build -t "${IMAGE}" .
if [ "${PUSH:-0}" = "1" ]; then
docker push "${IMAGE}"
fi