Skip to content

Commit

Permalink
chore(deps): docker node update (#330)
Browse files Browse the repository at this point in the history
## Introduction 🖊️ 
High CVE has been reported on previous version of Alpine Linux distro

## Resolution ✔️ 
* DockerFile Node and Alpine Linux version update to `node
20.3.1-alpine3.17`
* Dependencies updates

## Note ⚠️ 
Docker image scanning result only reports `1 Medium` and `1 Unspecified`
vulnerabilities:


![image](https://github.com/UK-Export-Finance/mdm-api/assets/32125108/0679bea4-d09c-47f6-9083-7e2c48258de1)

Co-authored-by: Abhi Markan <[email protected]>
  • Loading branch information
abhi-markan and Abhi Markan authored Jul 18, 2023
1 parent 7c4d6d9 commit cee9623
Show file tree
Hide file tree
Showing 3 changed files with 786 additions and 617 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# 1. BUILD
###################

FROM node:20.2-alpine3.16 AS build
FROM node:20.3.1-alpine3.17 AS build

# Alpine Linux install packages
RUN apk add bash curl
Expand Down Expand Up @@ -35,7 +35,7 @@ USER node
# 2. PRODUCTION
###################

FROM node:20.2-alpine3.16 AS production
FROM node:20.3.1-alpine3.17 AS production

WORKDIR /app

Expand Down
Loading

0 comments on commit cee9623

Please sign in to comment.