From c718c5e1e8ffc83a159794faf698a794f1fdb591 Mon Sep 17 00:00:00 2001 From: Per-Arne Andersen Date: Fri, 4 Sep 2020 08:18:06 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2495a24..f030569 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,10 @@ FROM node:14-alpine COPY ./wg_dashboard_frontend /tmp/build WORKDIR /tmp/build -RUN npm install && npm install -g @angular/cli +RUN apk add --no-cache build-base python3-dev && \ +npm install && npm install -g @angular/cli && \ +rm -rf node_modules \ +apk del build-base python3-dev RUN ng build --configuration="production"