Update Dockerfile to use ytplaylist.cli as entry point and clean up yt-playlist-main.py

This commit is contained in:
2025-10-19 19:09:27 +03:00
parent 41359edc51
commit f47eccbb07
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ COPY ./bin/ffmpeg /app/bin
COPY ./bin/yt-dlp /app/bin
COPY ./bin/aria2c /app/bin
CMD ["python", "yt-playlist-main.py"]
CMD ["python","-m","ytplaylist.cli"]
+1 -2
View File
@@ -14,5 +14,4 @@ if __name__ == "__main__":
except Exception:
pass
main()
main()