Skip to content

Commit 264620d

Browse files
author
Javed Hussain
committed
Implement code changes to enhance functionality and improve performance
1 parent 17a7a92 commit 264620d

File tree

3 files changed

+2010
-29
lines changed

3 files changed

+2010
-29
lines changed

Dockerfile.docs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ FROM node:22-alpine AS builder
55
WORKDIR /app
66

77
# Copy the package.json and package-lock.json files
8-
COPY app/docs/package.json .
8+
COPY app/docs/ ./
9+
10+
# Install git (required for VitePress build)
11+
RUN apk add --no-cache git
912

1013
# Install dependencies
1114
RUN npm install
1215

13-
# Copy the rest of the documentation files
14-
COPY app/docs/ .
15-
1616
# Build the documentation
1717
RUN npm run docs:build
1818

app/docs/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"docs:build": "npx vitepress build .",
99
"docs:preview": "npx vitepress preview ."
1010
},
11+
"devDependencies": {
12+
"vitepress": "1.6.3"
13+
},
1114
"keywords": [],
1215
"author": "",
1316
"license": "ISC",

0 commit comments

Comments
 (0)