Revert "Optimize image recreation by caching pip install"

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

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"]

View File

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