chore: 并入 iotlcm-docs 历史到 docs/(原提交 947e22e)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:01 +08:00
231 changed files with 11084 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM node:22-alpine AS builder
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk add --no-cache git
WORKDIR /app
COPY package*.json .npmrc ./
RUN npm ci
COPY . .
RUN npm run docs:build
FROM nginx:1.27-alpine
COPY --from=builder /app/.vitepress/dist /usr/share/nginx/html
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf