Browse Source

Feature/upgrade node from 14 to 16 (#1118)

* Upgrade to Node.js 16

* Update changelog
pull/1119/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
51f586e160
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .travis.yml
  2. 5
      CHANGELOG.md
  3. 4
      Dockerfile
  4. 2
      README.md

2
.travis.yml

@ -2,7 +2,7 @@ language: node_js
git: git:
depth: false depth: false
node_js: node_js:
- 14 - 16
services: services:
- docker - docker

5
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) - Improved the performance of data provider requests by introducing a maximum number of symbols per request (chunk size)
- Changed the log level settings - Changed the log level settings
- Refactored the access of the environment variables in the bootstrap function (api) - 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 ## 1.175.0 - 29.07.2022

4
Dockerfile

@ -1,4 +1,4 @@
FROM node:14-alpine as builder FROM node:16-alpine as builder
# Build application and add additional files # Build application and add additional files
@ -45,7 +45,7 @@ COPY package.json /ghostfolio/dist/apps/api
RUN yarn database:generate-typings RUN yarn database:generate-typings
# Image to run, copy everything needed from builder # Image to run, copy everything needed from builder
FROM node:14-alpine FROM node:16-alpine
COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps
WORKDIR /ghostfolio/apps/api WORKDIR /ghostfolio/apps/api
EXPOSE 3333 EXPOSE 3333

2
README.md

@ -162,7 +162,7 @@ Please follow the instructions of the Ghostfolio [Unraid Community App](https://
### Prerequisites ### Prerequisites
- [Docker](https://www.docker.com/products/docker-desktop) - [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) - [Yarn](https://yarnpkg.com/en/docs/install)
- A local copy of this Git repository (clone) - A local copy of this Git repository (clone)

Loading…
Cancel
Save