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 327af93 commit ff24fa9Copy full SHA for ff24fa9
.dockerignore
@@ -1,5 +1,7 @@
1
+.git
2
node_modules
3
.vscode
4
.idea
5
dist
6
/cli
7
+docs/.vitepress/cache
Dockerfile
@@ -1,12 +1,16 @@
# build stage
-FROM node:17 as build
+FROM node:18 as build
WORKDIR /app
-COPY package*.json ./
-RUN npm ci
+
+# install pnpm as defined in package.json
+COPY pnpm-lock.yaml package.json ./
8
+RUN npm i -g $(node -p "require('./package.json').packageManager")
9
10
+RUN pnpm install --frozen-lockfile
11
12
COPY . ./
-RUN npm run docs:build
13
+RUN pnpm docs:build
14
15
# production stage
16
FROM nginx:stable-alpine
0 commit comments