Skip to content
Open
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
6 changes: 4 additions & 2 deletions workers/temporal/vulnerability_enrichment_worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ COPY ./workers/temporal/vulnerability_enrichment_worker ./workers/temporal/vulne

RUN pnpm i --frozen-lockfile

FROM node:24-alpine AS runner
FROM node:20-bookworm-slim AS runner

WORKDIR /usr/insights/app
RUN npm install -g corepack@latest && \
corepack enable pnpm && \
corepack prepare pnpm@10.12.4 --activate && \
apk add --no-cache ca-certificates
apt update && \
apt install -y ca-certificates --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
Comment thread
epipav marked this conversation as resolved.

COPY --from=builder /usr/insights/app/node_modules ./node_modules
COPY --from=builder /usr/insights/app/submodules ./submodules
Expand Down
Loading