diff --git a/CHANGELOG.md b/CHANGELOG.md index ba14ee3a..ced7083d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated arc42 documentation to align with the updated Country Risk application. -- Switched the shell interpreter from `bash` to `sh` in our scripts to enhance portability and reduce dependencies. - +- Switched the shell interpreter from `bash` to `sh` in our scripts to enhance portability and reduce dependencies. +- Upgrade node version on Dockerfile ## [1.2.0] - 2023-10-11 diff --git a/Dockerfile b/Dockerfile index bf23b388..b36015fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ #******************************************************************************* # Base image -FROM node:18-alpine AS compile-image +FROM node:20-alpine AS compile-image # Set work directory WORKDIR /app @@ -68,8 +68,7 @@ COPY ./scripts/inject-dynamic-env.sh /docker-entrypoint.d/00-inject-dynamic-env. RUN chmod +x /docker-entrypoint.d/00-inject-dynamic-env.sh # Update vulnerable packages -RUN apk update && \ - apk upgrade +RUN apk update # Change ownership and switch back to nginx user RUN chown -R 101:101 /usr/share/nginx/html/