diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-07-11 09:55:31 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-07-11 11:12:51 +0200 |
commit | 406e79db568eb870553b5c7924739339f225d4ae (patch) | |
tree | 9648d40ea3cd4a93c0d0f65b3413975250e166eb | |
parent | cf807c36831d4c237d8ceddf5f55d2fdc3a24dec (diff) |
Pin node version in Dockerfile to assure compatibility with Angular 13
Issue-ID: PORTALNG-112
Change-Id: I207209f7f24ea736510d85da198dfcd78fc313de
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Dockerfile | 5 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -12,6 +12,7 @@ # dependencies /node_modules package-lock.json +node # profiling files chrome-profiler-events*.json @@ -56,4 +57,4 @@ Thumbs.db /.angular .cache -staging.proxy.config.json
\ No newline at end of file +staging.proxy.config.json @@ -1,7 +1,8 @@ # the JRE is required by the openapi-generator-cli -FROM eclipse-temurin:17-jre-alpine as builder +# FROM eclipse-temurin:17-jre-alpine as builder +FROM node:16-alpine AS builder RUN apk update && \ - apk add nodejs npm + apk add openjdk17 WORKDIR /usr/src/app COPY package*.json ./ diff --git a/package.json b/package.json index cbd5fd0..34fe7ff 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@openapitools/openapi-generator-cli": "^2.6.0", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "2.0.3", - "@types/lodash": "^4.14.188", + "@types/lodash": "4.14.188", "@types/node": "16.0.0", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "5.17.0", |