Update to 6.0.2

This commit is contained in:
Johannes Zellner 2023-12-22 17:33:29 +01:00
parent 1782eb10da
commit e6c37a102f

View file

@ -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 && \