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 11FROM node:22-alpine AS builder
22
3- ARG BUILD_HASH
4- ENV BUILD_HASH=${BUILD_HASH}
5-
63WORKDIR /app
74
85RUN npm install -g pnpm@latest-10
96
10- COPY package.json pnpm-lock.yaml .npmrc ./
11-
7+ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
128RUN --mount=type=cache,target=/root/.local/share/pnpm/store pnpm fetch --prod
139
1410COPY . .
11+ RUN pnpm install --frozen-lockfile --prod --offline
1512
16- RUN pnpm install --frozen-lockfile --ignore-scripts --prod --offline
17-
13+ ARG BUILD_HASH
14+ ENV BUILD_HASH=${BUILD_HASH}
1815RUN pnpm run build
1916
2017# --------------------------------------------
Original file line number Diff line number Diff line change 88 "pnpm" : " 10"
99 },
1010 "scripts" : {
11- "prepare" : " nitropack prepare && husky" ,
11+ "prepare" : " nitropack prepare && [ -z \" $CI \" ] && husky || echo 'Skipping husky in CI' " ,
1212 "dev" : " nitropack dev" ,
1313 "build" : " nitropack build" ,
1414 "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