Run web build script manually

This commit is contained in:
Bill Thornton 2023-03-10 12:24:43 -05:00
parent ce06fc3c28
commit c50bc44c3b
4 changed files with 6 additions and 1 deletions

1
debian/rules vendored
View file

@ -12,6 +12,7 @@ override_dh_clistrip:
override_dh_auto_build: override_dh_auto_build:
npm ci --no-audit --unsafe-perm npm ci --no-audit --unsafe-perm
npm run build:production
mv $(CURDIR)/dist $(CURDIR)/web mv $(CURDIR)/dist $(CURDIR)/web
override_dh_auto_clean: override_dh_auto_clean:

View file

@ -8,4 +8,6 @@ RUN apk add autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool ma
WORKDIR ${SOURCE_DIR} WORKDIR ${SOURCE_DIR}
COPY . . COPY . .
RUN npm ci --no-audit --unsafe-perm && mv dist ${ARTIFACT_DIR} RUN npm ci --no-audit --unsafe-perm \
&& npm run build:production \
&& mv dist ${ARTIFACT_DIR}

View file

@ -15,6 +15,7 @@ fi
# build archives # build archives
npm ci --no-audit --unsafe-perm npm ci --no-audit --unsafe-perm
npm run build:production
mv dist jellyfin-web_${version} mv dist jellyfin-web_${version}
tar -czf jellyfin-web_${version}_portable.tar.gz jellyfin-web_${version} tar -czf jellyfin-web_${version}_portable.tar.gz jellyfin-web_${version}
rm -rf dist rm -rf dist

View file

@ -35,6 +35,7 @@ chown root:root -R .
%build %build
npm ci --no-audit --unsafe-perm npm ci --no-audit --unsafe-perm
npm run build:production
%install %install