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 460a9c2 commit 4083123Copy full SHA for 4083123
Dockerfile
@@ -1,16 +1,16 @@
1
-FROM node:22-alpine AS builder
+FROM node:22-slim AS builder
2
3
RUN corepack enable
4
5
WORKDIR /app
6
7
COPY package.json pnpm-lock.yaml ./
8
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
9
- pnpm install --frozen-lockfile --ignore-scripts
+ pnpm install --frozen-lockfile
10
11
COPY . .
12
RUN pnpm run build && \
13
- pnpm prune --prod --ignore-scripts
+ pnpm prune --prod
14
15
FROM gcr.io/distroless/nodejs22-debian12
16
0 commit comments