Update peertube to 3.1.0

This commit is contained in:
Girish Ramakrishnan 2021-03-29 13:29:02 -07:00
parent be561c8896
commit b3055e5d33

View file

@ -3,14 +3,7 @@ FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3f
RUN mkdir -p /app/code/server /app/pkg
WORKDIR /app/code/server
ARG NODE_VERSION=12.21.0
# Expected node version ">=10.x <13"
RUN mkdir -p /usr/local/node-${NODE_VERSION} && \
curl -L https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz | tar zxf - --strip-components 1 -C /usr/local/node-${NODE_VERSION}
ENV PATH /usr/local/node-${NODE_VERSION}/bin:$PATH
ARG VERSION=3.0.1
ARG VERSION=3.1.0
# install peertube. the chown is required for some reason for ffmpeg. it fails with EROFS without it when transcoding
# the transcoding patch is at https://github.com/Chocobozzz/PeerTube/pull/3198