Update Dockerfile

This commit is contained in:
McCloudS
2023-10-26 01:18:06 -06:00
committed by GitHub
parent 9a74659739
commit e4d0d8803d

View File

@@ -2,13 +2,12 @@ FROM ubuntu:latest
WORKDIR /subgen
RUN apt-get update && apt-get -y install ffmpeg python3 python3-pip curl
RUN apt-get update && apt-get -y install python3 python3-pip ffmpeg
ENV PYTHONUNBUFFERED 1
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/bootstrap.sh /bootstrap.sh
RUN chmod +x /bootstrap.sh
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
CMD [ "/bootstrap.sh" ]
CMD [ "python3", "-u", "./subgen.py" ]
EXPOSE 8090