Backend/ng.Dockerfile

19 lines
359 B
Docker
Raw Normal View History

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
RUN apt install zip -y
ENV NG_CLI_ANALYTICS=ci
COPY build.gradle.kts .
COPY settings.gradle.kts .
COPY ./src/main/frontend ./src/main/frontend
WORKDIR /usr/src/cre/src/main/frontend