mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 16:46:50 +01:00
Merge pull request #986 from paperless-ngx/fix-npm-optional-flag
Change npm --no-optional to --omit=optional
This commit is contained in:
commit
6d7defa79e
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue