Revert "Optimize image recreation by caching pip install"
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
numpy
|
|
||||||
stable-ts
|
|
||||||
flask
|
|
||||||
requests
|
|
||||||
faster-whisper
|
|
||||||
Reference in New Issue
Block a user