trying to fix docker build, so it includes git sha info.

This commit is contained in:
Jason Kulatunga
2022-05-26 23:04:57 -07:00
parent c539af1a67
commit d7ddf01ea0
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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 && \
+2 -1
View File
@@ -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 && \