Skip to content

Commit 8e5dfa2

Browse files
committed
🐛 fix doc image source and vitepress content root path
1 parent 6027c27 commit 8e5dfa2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/docs/.vitepress/config.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from 'vitepress'
22

33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
5+
base: '/doc/',
56
title: "Nexent",
67
description: "A zero-code platform for auto-generating agents — no orchestration, no complex drag-and-drop required.",
78

make/docs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 使用 Node.js 18 作为基础镜像
2-
FROM docker.m.daocloud.io/library/node:18-alpine
2+
FROM node:18-alpine
33
ARG MIRROR
44

55
WORKDIR /app
@@ -19,7 +19,7 @@ EXPOSE 4173
1919

2020
# 设置健康检查
2121
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
22-
CMD wget --no-verbose --tries=1 --spider http://localhost:4173/doc/ || exit 1
22+
CMD wget --no-verbose --tries=1 --spider http://localhost:4173/ || exit 1
2323

2424
# 启动 VitePress 预览服务(服务构建后的静态文件)
2525
CMD ["npm", "run", "docs:preview", "--", "--host", "0.0.0.0", "--port", "4173"]

0 commit comments

Comments
 (0)