mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
Change npm --no-optional to --omit=optional
This commit is contained in:
parent
3cea4804f8
commit
b4de83e348
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ COPY ./src-ui /src/src-ui
|
||||||
WORKDIR /src/src-ui
|
WORKDIR /src/src-ui
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& npm update npm -g \
|
&& npm update npm -g \
|
||||||
&& npm ci --no-optional
|
&& npm ci --omit=optional
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& ./node_modules/.bin/ng build --configuration production
|
&& ./node_modules/.bin/ng build --configuration production
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,6 @@ COPY ./src-ui /src/src-ui
|
||||||
WORKDIR /src/src-ui
|
WORKDIR /src/src-ui
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& npm update npm -g \
|
&& npm update npm -g \
|
||||||
&& npm ci --no-optional
|
&& npm ci --omit=optional
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& ./node_modules/.bin/ng build --configuration production
|
&& ./node_modules/.bin/ng build --configuration production
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue