From c8bc2d50d0b7ab16bef9c669065a1517edf402b1 Mon Sep 17 00:00:00 2001 From: Arthur Joppart Date: Fri, 17 May 2024 00:13:14 +0200 Subject: [PATCH] hmm: having to test in the CI is a little annoying --- dl-downer/Dockerfile | 5 +++++ dl-downer/entry.sh | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dl-downer/Dockerfile b/dl-downer/Dockerfile index b7f7e3d..3bc5141 100644 --- a/dl-downer/Dockerfile +++ b/dl-downer/Dockerfile @@ -32,6 +32,9 @@ COPY . . RUN chmod +x /binaries/linux/* # Move binaries to /bin RUN mv /binaries/linux/* /bin/ +# Move entry.sh to /bin +RUN chmod +x /entry.sh +RUN mv /entry.sh /bin/ # install ffmpeg and mkvmerge RUN apt-get update @@ -43,3 +46,5 @@ RUN pip install --no-cache-dir -r requirements.txt RUN playwright install --with-deps CMD [ "entry.sh" ] + +ENTRYPOINT [ "python", "start.py" ] diff --git a/dl-downer/entry.sh b/dl-downer/entry.sh index 3836e91..e267952 100644 --- a/dl-downer/entry.sh +++ b/dl-downer/entry.sh @@ -11,5 +11,3 @@ chown myUser:myGroup /cdm chown myUser:myGroup /storage_states id - -python ./start.py