Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Stage 1 — Install dependencies
FROM node:24-bookworm-slim AS deps
RUN corepack enable && corepack prepare pnpm@10.34.5 --activate
RUN npm install -g pnpm@10.34.5
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile

# Stage 2 — Build TypeScript and prune dev dependencies
FROM node:24-bookworm-slim AS build
RUN corepack enable && corepack prepare pnpm@10.34.5 --activate
RUN npm install -g pnpm@10.34.5
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY package.json pnpm-lock.yaml tsconfig.json ./
Expand Down
4 changes: 2 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"datasourceTemplate": "npm"
},
{
"description": "Track the pnpm version corepack activates in the Dockerfile.",
"description": "Track the pnpm version installed in the Dockerfile.",
"customType": "regex",
"managerFilePatterns": ["/^Dockerfile$/"],
"matchStrings": ["corepack prepare (?<depName>pnpm)@(?<currentValue>\\S+) --activate"],
"matchStrings": ["npm install -g (?<depName>pnpm)@(?<currentValue>\\S+)"],
"datasourceTemplate": "npm"
}
]
Expand Down