m1guelpf / yt-whisper

Using OpenAI's Whisper to automatically generate YouTube subtitles
MIT License
1.36k stars 138 forks source link

Run with docker #23

Open mauricesvay opened 1 year ago

mauricesvay commented 1 year ago

First of all, thanks for making yt-whisper.

I have almost zero knowledge with docker, but tried with the following Dockerfile:

ARG BASE=python:3.10
FROM ${BASE}
RUN mkdir -p /output
RUN apt-get update && apt-get install -y ffmpeg git
RUN pip install git+https://github.com/m1guelpf/yt-whisper.git

ENTRYPOINT ["yt_whisper"]

For some reason, the process ends with Killed right after downloading the large model. I might be doing something wrong but I don't know.

It would be nice to have docker support out of the box.