ActivityPub-federated video streaming platform using P2P directly in your web browser
Remove unnecessary NPM_RUN_BUILD_OPTS docker arg
Chocobozzz75b7117f0784
diff --git a/server/lib/live/shared/muxing-session.ts b/server/lib/live/shared/muxing-session.tsindex eccaefcfaf..22a47942a4 100644--- a/server/lib/live/shared/muxing-session.ts+++ b/server/lib/live/shared/muxing-session.ts@@ -229,7 +229,7 @@ class MuxingSession extends EventEmitter {const playlistIdMatcher = /^([\d+])-/- const addHandler = async segmentPath => {+ const addHandler = async (segmentPath: string) => {logger.debug('Live add handler of %s.', segmentPath, this.lTags())const playlistId = basename(segmentPath).match(playlistIdMatcher)[0]diff --git a/support/docker/production/Dockerfile.bullseye b/support/docker/production/Dockerfile.bullseyeindex eacf6aca14..ac97ddce34 100644--- a/support/docker/production/Dockerfile.bullseye+++ b/support/docker/production/Dockerfile.bullseye@@ -1,10 +1,5 @@FROM node:14-bullseye-slim-# Allow to pass extra options to the npm run build-# eg: --light --light-fr to not build all client languages-# (speed up build time if i18n is not required)-ARG NPM_RUN_BUILD_OPTS-# Install dependenciesRUN apt update \&& apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu build-essential curl \@@ -22,7 +17,7 @@ WORKDIR /appUSER peertubeRUN yarn install --pure-lockfile --network-timeout 1200000 --network-concurrency 20 \- && npm run build -- $NPM_RUN_BUILD_OPTS \+ && npm run build \&& rm -r ./node_modules ./client/node_modules ./client/.angular \&& yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \&& yarn cache clean