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 19.6-alpine to 19-alpine #38

Open
wants to merge 1 commit into
base: main
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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ COPY . .

RUN cargo install --no-default-features --path .

FROM node:19.6-alpine AS installer
FROM node:19-alpine AS installer

WORKDIR /usr/src/app

COPY package*.json yarn.lock ./

RUN yarn install --frozen-lockfile

FROM node:19.6-alpine AS builder
FROM node:19-alpine AS builder

WORKDIR /usr/src/app

COPY --from=installer /usr/src/app/node_modules ./node_modules
COPY . .
RUN yarn build && rm -R ./node_modules && yarn install --production

FROM node:19.6-alpine
FROM node:19-alpine

RUN apk upgrade --update-cache --available && \
apk add openssl && \
Expand Down