aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-07-11 09:55:31 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-07-11 11:12:51 +0200
commit406e79db568eb870553b5c7924739339f225d4ae (patch)
tree9648d40ea3cd4a93c0d0f65b3413975250e166eb /Dockerfile
parentcf807c36831d4c237d8ceddf5f55d2fdc3a24dec (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>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 31cc8cb..1b5205b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 ./