feat: 项目自动选中、重命名接口与长配置值展开;页面显示版本号 v1.0.<commit> build <时间>
build-and-deploy / build-and-deploy (push) Successful in 28s

This commit is contained in:
jif2.zhang
2026-09-14 09:47:59 +08:00
parent 1765caba50
commit 37c781e6b9
14 changed files with 383 additions and 66 deletions
+6
View File
@@ -3,6 +3,12 @@ FROM node:22-alpine
WORKDIR /app
# 构建元数据(由 CI 传入;未传入时回退到运行时本地 git 信息)
ARG GIT_COMMIT=unknown
ARG BUILD_TIME=unknown
ENV GIT_COMMIT=${GIT_COMMIT}
ENV BUILD_TIME=${BUILD_TIME}
# 先复制清单以利用镜像层缓存
COPY package.json package-lock.json ./