Initial portable pretranscode service
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates ffmpeg procps python3 util-linux \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY pretranscode.py /app/pretranscode
|
||||
RUN chmod 0755 /app/pretranscode
|
||||
|
||||
ENTRYPOINT ["nice","-n","19","ionice","-c","3","python3","/app/pretranscode"]
|
||||
CMD ["run"]
|
||||
Reference in New Issue
Block a user