From 51f586e160c371c6127013cfe1e6672f921201d5 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 31 Jul 2022 08:14:52 +0200 Subject: [PATCH] Feature/upgrade node from 14 to 16 (#1118) * Upgrade to Node.js 16 * Update changelog --- .travis.yml | 2 +- CHANGELOG.md | 5 +++++ Dockerfile | 4 ++-- README.md | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef5281c35..ede947cdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: node_js git: depth: false node_js: - - 14 + - 16 services: - docker diff --git a/CHANGELOG.md b/CHANGELOG.md index 0237477c1..b39c957e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the performance of data provider requests by introducing a maximum number of symbols per request (chunk size) - Changed the log level settings - Refactored the access of the environment variables in the bootstrap function (api) +- Upgraded `Node.js` from version `14` to `16` (`Dockerfile`) + +### Todo + +- Upgrade to `Node.js` 16+ ## 1.175.0 - 29.07.2022 diff --git a/Dockerfile b/Dockerfile index dddbc93a6..261a5910e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-alpine as builder +FROM node:16-alpine as builder # Build application and add additional files @@ -45,7 +45,7 @@ COPY package.json /ghostfolio/dist/apps/api RUN yarn database:generate-typings # Image to run, copy everything needed from builder -FROM node:14-alpine +FROM node:16-alpine COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps WORKDIR /ghostfolio/apps/api EXPOSE 3333 diff --git a/README.md b/README.md index a5a98078c..712776bb9 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ Please follow the instructions of the Ghostfolio [Unraid Community App](https:// ### Prerequisites - [Docker](https://www.docker.com/products/docker-desktop) -- [Node.js](https://nodejs.org/en/download) (version 14+) +- [Node.js](https://nodejs.org/en/download) (version 16+) - [Yarn](https://yarnpkg.com/en/docs/install) - A local copy of this Git repository (clone)