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