2021-02-11 19:38:11 -05:00
|
|
|
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
|
2021-02-12 00:48:28 -05:00
|
|
|
|
|
|
|
RUN npm install -g typescript@3.9.7
|
|
|
|
RUN npm install -g @angular/cli || true
|
2021-02-11 19:38:11 -05:00
|
|
|
|
|
|
|
ENV NG_CLI_ANALYTICS=ci
|
|
|
|
|
|
|
|
COPY build.gradle.kts .
|
|
|
|
COPY settings.gradle.kts .
|
|
|
|
COPY ./src/main/frontend ./src/main/frontend
|