forked from cloudron-apps/peertube-app
Fix ffmpeg error with EROFS when transcoding
This commit is contained in:
parent
4bf2d3c48f
commit
ec25b08e08
1 changed files with 4 additions and 3 deletions
|
@ -11,9 +11,10 @@ RUN curl -sL https://github.com/mikefarah/yq/releases/download/3.2.1/yq_linux_am
|
||||||
|
|
||||||
ARG VERSION=2.4.0
|
ARG VERSION=2.4.0
|
||||||
|
|
||||||
# install peertube
|
# 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 -
|
RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf - && \
|
||||||
RUN yarn install --production --pure-lockfile
|
yarn install --production --pure-lockfile && \
|
||||||
|
chown -R cloudron:cloudron /app/code/server
|
||||||
|
|
||||||
RUN mkdir /app/code/cli && \
|
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 && \
|
curl -L https://github.com/Chocobozzz/PeerTube/archive/v${VERSION}.tar.gz | tar -zxvf - --strip-components=1 -C /app/code/cli && \
|
||||||
|
|
Loading…
Reference in a new issue