19 lines
373 B
Docker
19 lines
373 B
Docker
ARG JDK_VERSION=11
|
|
ARG GRADLE_VERSION=6.8
|
|
|
|
FROM gradle:$GRADLE_VERSION-jdk$JDK_VERSION
|
|
WORKDIR /usr/src/cre/
|
|
|
|
RUN apt update
|
|
RUN apt install nodejs -y
|
|
RUN apt install npm -y
|
|
|
|
RUN npm install -g typescript@3.9.7
|
|
RUN npm install -g @angular/cli || true
|
|
|
|
ENV NG_CLI_ANALYTICS=ci
|
|
|
|
COPY build.gradle.kts .
|
|
COPY settings.gradle.kts .
|
|
COPY ./src/main/frontend ./src/main/frontend
|