From c0b7d8c10e2cb20ca3ed7026353a2549816de86d Mon Sep 17 00:00:00 2001 From: mdnapo Date: Sat, 19 Oct 2024 14:56:11 +0200 Subject: [PATCH] Trying npm install dev --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ebdcbd..b9585f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,8 @@ COPY . . ARG API_URL="https://api.jtr.local" ENV JTR_API_URL=${API_URL} ENV NODE_ENV="production" -RUN npm ci -RUN /app/node_modules/.bin/ng build --prod -# RUN npm run build +RUN npm install --dev +RUN ./node_modules/.bin/ng build --prod # Serve application FROM nginx:alpine