diff --git a/docker/Dockerfile b/docker/Dockerfile index 6db99d2..a94c53f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,9 +17,10 @@ FROM node:lts-slim as frontendbuild ENV NPM_CONFIG_LOGLEVEL=warn NG_CLI_ANALYTICS=false WORKDIR /opt/scrutiny/src -COPY webapp/frontend /opt/scrutiny/src +COPY . /opt/scrutiny/src RUN apt-get update && apt-get install -y git && \ + cd webapp/frontend && \ npm install -g @angular/cli@9.1.4 && \ mkdir -p /scrutiny/dist && \ npm install && \ diff --git a/docker/Dockerfile.web b/docker/Dockerfile.web index b6015a8..e58d6e8 100644 --- a/docker/Dockerfile.web +++ b/docker/Dockerfile.web @@ -15,9 +15,10 @@ FROM node:lts-slim as frontendbuild ENV NPM_CONFIG_LOGLEVEL=warn NG_CLI_ANALYTICS=false WORKDIR /opt/scrutiny/src -COPY webapp/frontend /opt/scrutiny/src +COPY . /opt/scrutiny/src RUN apt-get update && apt-get install -y git && \ + cd webapp/frontend && \ npm install -g @angular/cli@9.1.4 && \ mkdir -p /opt/scrutiny/dist && \ npm install && \