From 78a3f439db40afea8a47f077fb56e07bb8f02a24 Mon Sep 17 00:00:00 2001 From: Silas Meilbeck Date: Thu, 16 May 2024 18:41:40 +0200 Subject: [PATCH] Use npm install instead of npm ci --- backend/Dockerfile | 3 ++- frontend/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index bee8be3c..af6d9a17 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -45,7 +45,8 @@ RUN rm -f latest_stable.txt # Bundle app source COPY . . -RUN npm ci +RUN npm install +#RUN npm ci # If you are building your code for production # RUN npm ci --only=production diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 1ff408c3..27408164 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -13,7 +13,8 @@ RUN ls -l . RUN cat package.json # Install dependencies -RUN npm ci --ignore-scripts +#RUN npm ci --ignore-scripts +RUN npm install # Install Angular CLI RUN npm install --ignore-scripts -g @angular/cli