Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade node from 20.15.1-alpine to 20.18.1-alpine #122

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
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: 3 additions & 3 deletions block-explorer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine AS build
FROM node:20.18.1-alpine AS build

RUN apk update && apk upgrade && apk add python3 make g++ --no-cache && rm -rf /var/cache/apk/*
RUN npm install -g pnpm
Expand All @@ -12,7 +12,7 @@ RUN pnpm install --frozen-lockfile --unsafe-perm --force
COPY . .
RUN BASE_URL='http://api' pnpm run build

FROM node:20.15.1-alpine AS deps
FROM node:20.18.1-alpine AS deps

RUN apk update && apk upgrade && apk add python3 make g++ --no-cache && rm -rf /var/cache/apk/*
RUN npm install -g pnpm
Expand All @@ -25,7 +25,7 @@ COPY package.json pnpm-lock.yaml ./
RUN pnpm install --prod --frozen-lockfile --no-optional --force


FROM node:20.15.1-alpine AS runner
FROM node:20.18.1-alpine AS runner

RUN apk update && apk upgrade && rm -rf /var/cache/apk/*
RUN addgroup --system --gid 1001 nodejs
Expand Down
Loading