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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
9 additions and
4 deletions
-
.travis.yml
-
CHANGELOG.md
-
Dockerfile
-
README.md
|
|
@ -2,7 +2,7 @@ language: node_js |
|
|
|
git: |
|
|
|
depth: false |
|
|
|
node_js: |
|
|
|
- 14 |
|
|
|
- 16 |
|
|
|
|
|
|
|
services: |
|
|
|
- docker |
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
@ -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) |
|
|
|
|
|
|
|