chore: 引入远程 Docker 部署配置

从 gitea 远程同步 Dockerfile、.dockerignore 及 package.json 的 packageManager 字段。

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
This commit is contained in:
2026-10-16 18:02:28 +08:00
co-authored by Claude Sonnet 4.6 noreply@anthropic.com
parent b1ba722cc7
commit 33fb6fa406
3 changed files with 30 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
.git
.github
.agents
.codex
node_modules
docs/.vitepress/dist
docs/.vitepress/cache
_test_*
docs/public/hands-on-win.zip
docs/public/hands-on-mac.zip
+18
View File
@@ -0,0 +1,18 @@
FROM node:20-alpine AS build
WORKDIR /app
RUN corepack enable && corepack prepare pnpm@9.15.9 --activate
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm docs:build
FROM nginx:1.27-alpine
COPY --from=build /app/docs/.vitepress/dist /usr/share/nginx/html
EXPOSE 80
+1
View File
@@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"type": "module",
"packageManager": "pnpm@9.15.9",
"description": "Digi Agent Builder 3.0 智能体开发示例指导书 Web 版",
"scripts": {
"docs:dev": "vitepress dev docs",