feat: deploy skill

This commit is contained in:
2026-04-12 20:15:41 +08:00
parent 6fe04f4893
commit 71c604411d
37 changed files with 1701 additions and 2 deletions

26
docs/Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
# Stage 1: Build environment with HonKit
FROM node:20-alpine AS build
WORKDIR /book
# Install HonKit globally
RUN npm install -g honkit
# Copy GitBook source files
COPY book.json SUMMARY.md README.md faq.md ./
COPY introduction/ ./introduction/
COPY getting-started/ ./getting-started/
COPY mcp-tools/ ./mcp-tools/
COPY clients/ ./clients/
COPY project-management/ ./project-management/
# Build static HTML
RUN honkit build . /output
# Stage 2: Serve with nginx
FROM nginx:alpine
COPY --from=build /output /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80