From e6c37a102f3b5f9a0fde4c90928faeaba73f5728 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 22 Dec 2023 17:33:29 +0100 Subject: [PATCH] Update to 6.0.2 --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97133ea..c67657b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,17 +5,13 @@ WORKDIR /app/code/server RUN apt update && apt install -y prosody && rm -rf /var/cache/apt /var/lib/apt/lists -ARG VERSION=5.2.1 +ARG VERSION=6.0.2 # install peertube. the chown is required for some reason for ffmpeg. it fails with EROFS without it when transcoding RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf - && \ yarn install --production --pure-lockfile -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 && \ - NOCLIENT=1 yarn install --pure-lockfile && \ - npm run setup:cli +RUN npm install -g @peertube/peertube-cli # the json is created and managed by web ui. it overrides the yaml file (https://github.com/lorenwest/node-config/wiki/Configuration-Files) RUN ln -sf /app/data/production.yaml /app/code/server/config/production.yaml && \