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:
@@ -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
5
subgen/requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
numpy
|
||||
stable-ts
|
||||
flask
|
||||
requests
|
||||
faster-whisper
|
||||
Reference in New Issue
Block a user