Use npm ci instead of npm i
This commit is contained in:
parent
ba958c70d5
commit
8d6713af65
|
@ -5,7 +5,7 @@ ARG JELLYFIN_WEB_VERSION=master
|
|||
RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python \
|
||||
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
|
||||
&& cd jellyfin-web-* \
|
||||
&& npm i \
|
||||
&& npm ci --no-audit \
|
||||
&& mv dist /dist
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}-buster-slim as builder
|
||||
|
|
|
@ -10,7 +10,7 @@ ARG JELLYFIN_WEB_VERSION=master
|
|||
RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python \
|
||||
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
|
||||
&& cd jellyfin-web-* \
|
||||
&& npm i \
|
||||
&& npm ci --no-audit \
|
||||
&& mv dist /dist
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ ARG JELLYFIN_WEB_VERSION=master
|
|||
RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python \
|
||||
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
|
||||
&& cd jellyfin-web-* \
|
||||
&& npm i \
|
||||
&& npm ci --no-audit \
|
||||
&& mv dist /dist
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user