File tree Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
FROM node:22-alpine AS builder
2
2
3
- ARG BUILD_HASH
4
- ENV BUILD_HASH=${BUILD_HASH}
5
-
6
3
WORKDIR /app
7
4
8
5
RUN npm install -g pnpm@latest-10
9
6
10
- COPY package.json pnpm-lock.yaml .npmrc ./
11
-
7
+ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
12
8
RUN --mount=type=cache,target=/root/.local/share/pnpm/store pnpm fetch --prod
13
9
14
10
COPY . .
11
+ RUN pnpm install --frozen-lockfile --prod --offline
15
12
16
- RUN pnpm install --frozen-lockfile --ignore-scripts --prod --offline
17
-
13
+ ARG BUILD_HASH
14
+ ENV BUILD_HASH=${BUILD_HASH}
18
15
RUN pnpm run build
19
16
20
17
# --------------------------------------------
Original file line number Diff line number Diff line change 8
8
"pnpm" : " 10"
9
9
},
10
10
"scripts" : {
11
- "prepare" : " nitropack prepare && husky" ,
11
+ "prepare" : " nitropack prepare && [ -z \" $CI \" ] && husky || echo 'Skipping husky in CI' " ,
12
12
"dev" : " nitropack dev" ,
13
13
"build" : " nitropack build" ,
14
14
"preview" : " node .output/server/index.mjs" ,
Original file line number Diff line number Diff line change
1
+ shamefullyHoist : true
2
+ strictPeerDependencies : false
You can’t perform that action at this time.
0 commit comments