Skip to content

Commit

Permalink
trying to fix docker build, so it includes git sha info.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed May 27, 2022
1 parent c539af1 commit d7ddf01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit d7ddf01

Please sign in to comment.