From da634c59ee285985ed0cdb68c4f379a04cd894cd Mon Sep 17 00:00:00 2001 From: ewandor Date: Sun, 5 Mar 2023 14:29:59 +0100 Subject: [PATCH] Moving an gular cli installation up to not redo it every time we add a library --- front/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/Dockerfile b/front/Dockerfile index 6ae2f635..fc67953f 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -6,11 +6,11 @@ RUN npm install -g http-server # make the 'app' folder the current working directory WORKDIR /app +RUN npm install -g @angular/cli # copy both 'package.json' and 'package-lock.json' (if available) COPY app/package*.json ./ # install project dependencies -RUN npm install -g @angular/cli RUN npm install # copy project files and folders to the current working directory (i.e. 'app' folder)