From e96941bcb440777f706751395c2596ff70996390 Mon Sep 17 00:00:00 2001 From: acoard-aot <61285798+acoard-aot@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:24:42 -0700 Subject: [PATCH] Change npm install to npm ci (#443) --- .../forms-flow-ai-micro-front-ends/forms-flow-nav/Dockerfile | 2 +- .../forms-flow-ai-micro-front-ends/forms-flow-theme/Dockerfile | 2 +- forms-flow-ai/forms-flow-web/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-nav/Dockerfile b/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-nav/Dockerfile index 6b874d39..a91864e0 100644 --- a/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-nav/Dockerfile +++ b/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-nav/Dockerfile @@ -20,7 +20,7 @@ RUN cp -r /tmp/forms-flow-ai/forms-flow-nav/. /forms-flow-nav/app COPY package-lock.json /forms-flow-nav/app/package-lock.json COPY package.json /forms-flow-nav/app/package.json -RUN npm install +RUN npm ci COPY . /forms-flow-nav/app/ diff --git a/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-theme/Dockerfile b/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-theme/Dockerfile index 4d50e86c..bfd7861c 100644 --- a/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-theme/Dockerfile +++ b/forms-flow-ai/forms-flow-ai-micro-front-ends/forms-flow-theme/Dockerfile @@ -19,7 +19,7 @@ RUN cp -r /tmp/forms-flow-ai/forms-flow-theme/. /forms-flow-theme/app COPY package-lock.json /forms-flow-theme/app/package-lock.json COPY package.json /forms-flow-theme/app/package.json -RUN npm install +RUN npm ci COPY . /forms-flow-theme/app/ diff --git a/forms-flow-ai/forms-flow-web/Dockerfile b/forms-flow-ai/forms-flow-web/Dockerfile index 134b8f35..7b90e551 100644 --- a/forms-flow-ai/forms-flow-web/Dockerfile +++ b/forms-flow-ai/forms-flow-web/Dockerfile @@ -81,7 +81,7 @@ RUN echo "Debug of git branch - ${FORMFLOW_SOURCE_REPO_BRANCH} ${FORMFLOW_SOURCE COPY package-lock.json /forms-flow-web/app/package-lock.json COPY package.json /forms-flow-web/app/package.json -RUN npm install +RUN npm ci #RUN npm install react-scripts@3.0.1 -g --silent COPY . /forms-flow-web/app/ #COPY ./formcomponents /forms-flow-web/app/node_modules/formcomponents