mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-11-24 02:21:07 +00:00
Update to 6.0.2
This commit is contained in:
parent
1782eb10da
commit
e6c37a102f
1 changed files with 2 additions and 6 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue