]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Change npm --no-optional to --omit=optional 986/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Wed, 18 May 2022 21:01:19 +0000 (14:01 -0700)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Wed, 18 May 2022 21:01:19 +0000 (14:01 -0700)
Dockerfile
docker-builders/Dockerfile.frontend

index 2c4bbefe5d7e6a99cfabace906d48e49f59fe5a9..b1ff73181bbcd62870078cc59339c20d9fae474f 100644 (file)
@@ -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
 
index 26f6c9e15c7386ecec75727c8c0b70ecb82d8fb2..e552ee18421cc5a1aa2411fce268116edcf86bcd 100644 (file)
@@ -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