mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-11-22 01:21:10 +00:00
apply cli patch (https://github.com/Chocobozzz/PeerTube/issues/4858)
This commit is contained in:
parent
814c3b4ca8
commit
7776e981c3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue