From 056bedc599fb60c0ac589d671564509e62a4b0bd Mon Sep 17 00:00:00 2001 From: Cameron Cordes Date: Fri, 6 Mar 2020 15:45:45 -0500 Subject: [PATCH] Use the local Angular CLI --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 39c39da..9bb4d3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM node:10.19.0-alpine3.9 WORKDIR /app VOLUME /app /app/dist -ENTRYPOINT npm install && npm install -g @angular/cli@8.2.7 && ng build --prod +ENTRYPOINT npm install && export PATH=$PATH:/app/node_modules/.bin \ + && ng build --prod