|
|
@ -15,9 +15,10 @@ FROM node:lts-slim as frontendbuild
|
|
|
|
ENV NPM_CONFIG_LOGLEVEL=warn NG_CLI_ANALYTICS=false
|
|
|
|
ENV NPM_CONFIG_LOGLEVEL=warn NG_CLI_ANALYTICS=false
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /opt/scrutiny/src
|
|
|
|
WORKDIR /opt/scrutiny/src
|
|
|
|
COPY webapp/frontend /opt/scrutiny/src
|
|
|
|
COPY . /opt/scrutiny/src
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y git && \
|
|
|
|
RUN apt-get update && apt-get install -y git && \
|
|
|
|
|
|
|
|
cd webapp/frontend && \
|
|
|
|
npm install -g @angular/cli@9.1.4 && \
|
|
|
|
npm install -g @angular/cli@9.1.4 && \
|
|
|
|
mkdir -p /opt/scrutiny/dist && \
|
|
|
|
mkdir -p /opt/scrutiny/dist && \
|
|
|
|
npm install && \
|
|
|
|
npm install && \
|
|
|
|