From b455d8a9007da9266aae6081f7b6dfd0280f8c7a Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Sat, 15 Aug 2020 14:07:06 -0400 Subject: [PATCH] ARM dockerfile now builds frontend using Angular CLI --- armhf.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/armhf.Dockerfile b/armhf.Dockerfile index 53c50ce..147bf89 100644 --- a/armhf.Dockerfile +++ b/armhf.Dockerfile @@ -3,13 +3,15 @@ FROM alpine:3.12 as frontend RUN apk add --no-cache \ npm +RUN npm install -g @angular/cli + WORKDIR /build COPY [ "package.json", "package-lock.json", "/build/" ] RUN npm install COPY [ "angular.json", "tsconfig.json", "/build/" ] COPY [ "src/", "/build/src/" ] -RUN npm run ng build --prod +RUN ng build --prod #--------------#