From b4de83e34886dad94cf4b490d3dd78c2624b4281 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 18 May 2022 14:01:19 -0700 Subject: [PATCH] Change npm --no-optional to --omit=optional --- Dockerfile | 2 +- docker-builders/Dockerfile.frontend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c4bbefe5..b1ff73181 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ COPY ./src-ui /src/src-ui WORKDIR /src/src-ui RUN set -eux \ && npm update npm -g \ - && npm ci --no-optional + && npm ci --omit=optional RUN set -eux \ && ./node_modules/.bin/ng build --configuration production diff --git a/docker-builders/Dockerfile.frontend b/docker-builders/Dockerfile.frontend index 26f6c9e15..e552ee184 100644 --- a/docker-builders/Dockerfile.frontend +++ b/docker-builders/Dockerfile.frontend @@ -9,6 +9,6 @@ COPY ./src-ui /src/src-ui WORKDIR /src/src-ui RUN set -eux \ && npm update npm -g \ - && npm ci --no-optional + && npm ci --omit=optional RUN set -eux \ && ./node_modules/.bin/ng build --configuration production