feat: live module and jenkins pipeline to harbor deploy

This commit is contained in:
Yvan
2026-09-21 16:45:44 +08:00
parent 451c8e2abc
commit 829d75c657
145 changed files with 8984 additions and 269 deletions
+13
View File
@@ -0,0 +1,13 @@
# 本地快速构建 dist 用(CI 上无需此文件)。用法:
# docker build -f web/Dockerfile.build --target export -o "type=local,dest=web/dist" web
FROM docker.m.daocloud.io/node:20-slim
ENV COREPACK_NPM_REGISTRY=https://registry.npmmirror.com
ENV npm_config_registry=https://registry.npmmirror.com
WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN corepack enable && corepack prepare pnpm@10.15.1 --activate && pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
FROM scratch AS export
COPY --from=0 /app/dist /dist