Merge pull request #14 from McCloudS/revert-12-main

Revert "Optimize image recreation by caching pip install"
This commit is contained in:
McCloudS authored and GitHub committed 2023-10-23 12:11:24 -06:00
commit ebd7e32021
2 files changed
+1 -10

No files matched your search

+1 -5
View File
@@ -1,12 +1,8 @@
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/requirements.txt /subgen/requirements.txt
RUN pip install -r requirements.txt
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
ENTRYPOINT ["python3"]
CMD ["/subgen/subgen.py"]
-5
View File
@@ -1,5 +0,0 @@
numpy
stable-ts
flask
requests
faster-whisper