Pin node version in Dockerfile to assure compatibility with Angular 13 16/138416/6
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 11 Jul 2024 07:55:31 +0000 (09:55 +0200)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 11 Jul 2024 09:12:51 +0000 (11:12 +0200)
Issue-ID: PORTALNG-112
Change-Id: I207209f7f24ea736510d85da198dfcd78fc313de
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
.gitignore
Dockerfile
package.json

index 200a708..531587f 100644 (file)
@@ -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
index 31cc8cb..1b5205b 100644 (file)
@@ -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 ./
index cbd5fd0..34fe7ff 100644 (file)
@@ -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",