Skip to content

Commit

Permalink
Merge pull request #12 from pearlythepirate/main
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
McCloudS authored Oct 23, 2023
2 parents d07f90a + 53f904e commit 78543f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
5 changes: 5 additions & 0 deletions subgen/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
numpy
stable-ts
flask
requests
faster-whisper

0 comments on commit 78543f9

Please sign in to comment.