From c7e74e33ee861237254f959ce44922004e6542b5 Mon Sep 17 00:00:00 2001 From: Louis Nyffenegger Date: Mon, 18 Feb 2019 15:32:13 +1100 Subject: [PATCH] Add Dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..35368f9a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:2.7 +ENV FFMPEG_VERSION 4.1.1 + +RUN pip install autosub + +WORKDIR /tmp +RUN curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg-release-amd64-static.tar.xz +RUN tar -xf ffmpeg-release-amd64-static.tar.xz +RUN cp ffmpeg-${FFMPEG_VERSION}-amd64-static/ffmpeg /usr/bin/ffmpeg +RUN rm -rf ffmpeg-${FFMPEG_VERSION}-amd64-static* + +ENTRYPOINT ["autosub"]