From c2b3688e76408499d225655f189d7f123e30875e Mon Sep 17 00:00:00 2001 From: mdnapo Date: Sat, 19 Oct 2024 14:24:29 +0200 Subject: [PATCH] Changed 'npm run build' to 'node_modules/.bin/ng build --prod' --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 05a0f32..4f27914 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ ARG API_URL="https://api.jtr.local" ENV JTR_API_URL=${API_URL} ENV NODE_ENV="production" RUN npm install -RUN npm run build +RUN RUN node_modules/.bin/ng build --prod +# RUN npm run build # Serve application FROM nginx:alpine