From 64fc2c3a9eeab81d07fa7af872c41fec765a8908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=9F=E4=BA=8C=E8=BF=9C?= Date: Tue, 7 Apr 2026 18:07:29 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E8=B0=83=E6=95=B4web=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=9F=BA=E7=A1=80=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/.npmrc | 1 + web/.nvmrc | 1 + web/Dockerfile | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 web/.npmrc create mode 100644 web/.nvmrc diff --git a/web/.npmrc b/web/.npmrc new file mode 100644 index 00000000..7f082f23 --- /dev/null +++ b/web/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmmirror.com \ No newline at end of file diff --git a/web/.nvmrc b/web/.nvmrc new file mode 100644 index 00000000..209e3ef4 --- /dev/null +++ b/web/.nvmrc @@ -0,0 +1 @@ +20 diff --git a/web/Dockerfile b/web/Dockerfile index e301f7c8..af37fb1b 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine AS build +FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/node:22-alpine AS build RUN corepack enable WORKDIR /app COPY package.json pnpm-lock.yaml ./ @@ -6,7 +6,7 @@ RUN pnpm install --frozen-lockfile COPY . . RUN pnpm build -FROM nginx:alpine +FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html COPY --from=build /app/src/docs/skill.md.template /usr/share/nginx/html/registry/skill.md.template COPY nginx.conf.template /etc/nginx/templates/default.conf.template