From 17b1818b5c75b5af0f806596a542230c3df43c76 Mon Sep 17 00:00:00 2001 From: Stefan Werfling Date: Mon, 1 May 2023 21:08:55 +0200 Subject: [PATCH] add core install to dockerfile --- Dockerfile.nginxsrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile.nginxsrc b/Dockerfile.nginxsrc index ae67f70..4f8bb61 100644 --- a/Dockerfile.nginxsrc +++ b/Dockerfile.nginxsrc @@ -80,6 +80,13 @@ WORKDIR /opt/core COPY ./core/ ./ +RUN rm -R node_modules | true +RUN rm -R dist | true +RUN rm package-lock.json | true + +RUN npm install +RUN npm run build + # Copy/Install Backend ------------------------------------------------------------------------------------------------- WORKDIR /opt/app