We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a7a92 commit 264620dCopy full SHA for 264620d
Dockerfile.docs
@@ -5,14 +5,14 @@ FROM node:22-alpine AS builder
5
WORKDIR /app
6
7
# Copy the package.json and package-lock.json files
8
-COPY app/docs/package.json .
+COPY app/docs/ ./
9
+
10
+# Install git (required for VitePress build)
11
+RUN apk add --no-cache git
12
13
# Install dependencies
14
RUN npm install
15
-# Copy the rest of the documentation files
-COPY app/docs/ .
-
16
# Build the documentation
17
RUN npm run docs:build
18
app/docs/package.json
@@ -8,6 +8,9 @@
"docs:build": "npx vitepress build .",
"docs:preview": "npx vitepress preview ."
},
+ "devDependencies": {
+ "vitepress": "1.6.3"
+ },
"keywords": [],
"author": "",
"license": "ISC",
0 commit comments