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

This commit is contained in:
Jason Kulatunga
2022-05-26 22:53:00 -07:00
parent d93d24b52d
commit c539af1a67
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ ENV NPM_CONFIG_LOGLEVEL=warn NG_CLI_ANALYTICS=false
WORKDIR /opt/scrutiny/src
COPY webapp/frontend /opt/scrutiny/src
RUN npm install -g @angular/cli@9.1.4 && \
RUN apt-get update && apt-get install -y git && \
npm install -g @angular/cli@9.1.4 && \
mkdir -p /opt/scrutiny/dist && \
npm install && \
npm run build:prod -- --output-path=/opt/scrutiny/dist