Update Dockerfile with requirements caching

This commit is contained in:
Matthew Chellew
2023-10-23 14:35:11 +03:00
committed by GitHub
parent 8c290d3845
commit 0d9810be6a

View File

@@ -1,8 +1,10 @@
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
RUN pip install -r requirements.txt
ENTRYPOINT ["python3"]
CMD ["/subgen/subgen.py"]