2021-07-21 05:59:05 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for editly
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM node:lts-buster
|
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
|
|
|
RUN set -xe \
|
|
|
|
&& apt update \
|
2021-07-21 10:36:51 +02:00
|
|
|
&& apt install -y curl dumb-init fonts-noto-cjk xvfb xz-utils \
|
|
|
|
&& curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz \
|
|
|
|
| tar xJC /usr/bin/ ffmpeg-4.4-amd64-static/ffprobe ffmpeg-4.4-amd64-static/ffmpeg --strip 1 \
|
|
|
|
&& ffmpeg -version \
|
|
|
|
&& ffprobe -version \
|
2021-07-21 05:59:05 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN npm install --global --unsafe-perm editly
|
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/dumb-init", "--", "xvfb-run", "--server-args", "-screen 0 1280x1024x24 -ac", "editly"]
|
|
|
|
CMD ["--help"]
|