Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Nov 15, 2023
1 parent bfa5863 commit 786b059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### STAGE 1: Build ###
FROM node:16.13-alpine AS build
FROM node:16.20.2-alpine AS build
WORKDIR /usr/src/app
COPY package.json yarn.lock ./
RUN apk --no-cache add git
Expand All @@ -8,7 +8,7 @@ COPY . .
RUN yarn run build:ssr

### STAGE 2: DEPLOY
FROM node:16.13-alpine
FROM node:16.20.2-alpine
WORKDIR /usr/src/app
RUN apk --no-cache add curl
COPY --from=build /usr/src/app/dist/MobileSpectrum ./dist/MobileSpectrum
Expand Down

0 comments on commit 786b059

Please sign in to comment.