14 lines
277 B
Docker
14 lines
277 B
Docker
FROM ubuntu:latest
|
|
|
|
WORKDIR /subgen
|
|
|
|
RUN apt-get update && apt-get -y install python3 python3-pip ffmpeg
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
|
|
|
|
CMD [ "python3", "-u", "./subgen.py" ]
|
|
|
|
EXPOSE 8090
|