From 7776e981c3757b8c2ae2f9663752d76acba4b32a Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 29 Apr 2022 14:30:58 -0700 Subject: [PATCH] apply cli patch (https://github.com/Chocobozzz/PeerTube/issues/4858) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5b23cb7..434611e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,11 @@ RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION yarn install --production --pure-lockfile && \ sed -e 's/niceness: constants_1.FFMPEG_NICE.TRANSCODING/niceness: constants_1.FFMPEG_NICE.TRANSCODING, cwd: config_1.CONFIG.STORAGE.TMP_DIR/' -i /app/code/server/dist/server/helpers/ffmpeg-utils.js +# CLI patch for https://github.com/Chocobozzz/PeerTube/issues/4858 RUN mkdir /app/code/cli && \ curl -L https://github.com/Chocobozzz/PeerTube/archive/v${VERSION}.tar.gz | tar -zxvf - --strip-components=1 -C /app/code/cli && \ cd /app/code/cli && \ + curl -L https://github.com/Chocobozzz/PeerTube/commit/74220dba9db6a1dc5c0b504b0230de26ef9c9dd5.patch -o /tmp/cli.patch && patch -p1 < /tmp/cli.patch && rm /tmp/cli.patch && \ NOCLIENT=1 yarn install --pure-lockfile && \ npm run setup:cli