Merge pull request #12 from pearlythepirate/main

Thanks, I think I missed this because I was storing the packages outside the container.  Let me know if you're able to actually generate files.  I haven't fully fleshed out the docker container, but everything seems to work with the standalone script.
This commit is contained in:
McCloudS
2023-10-23 09:07:50 -06:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -1,8 +1,12 @@
FROM ubuntu:latest
WORKDIR /subgen
RUN apt-get update && apt-get -y install python3 python3-pip
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/requirements.txt /subgen/requirements.txt
RUN pip install -r requirements.txt
ENTRYPOINT ["python3"]
CMD ["/subgen/subgen.py"]

5
subgen/requirements.txt Normal file
View File

@@ -0,0 +1,5 @@
numpy
stable-ts
flask
requests
faster-whisper