Revert "Optimize image recreation by caching pip install"

This commit is contained in:
McCloudS authored and GitHub committed 2023-10-23 12:11:01 -06:00
1 parent b3daa716d3
commit 0e4396b88e
2 files changed
+1 -10

No files matched your search

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