From 3c3f669830bfce9697d1d9870e09ea7b3475968e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:02:03 +0000 Subject: [PATCH 1/4] Initial plan From f49f9ea545e1254c022d6bef7ace999c02e54b8b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:10:15 +0000 Subject: [PATCH 2/4] Fix Dockerfiles to use modern uv workflow Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com> --- Dockerfile | 5 ++--- Dockerfile_with_node | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index df48b2be2..fda572993 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,10 +21,9 @@ RUN apt-get update && apt-get install -y curl gnupg && \ rm -rf /var/lib/apt/lists/* RUN python -m pip install uv -RUN uv pip install -r requirements.txt --no-cache-dir --system -RUN uv pip install socksio uv pilk --no-cache-dir --system +RUN uv sync --no-dev --no-cache EXPOSE 6185 EXPOSE 6186 -CMD [ "python", "main.py" ] +CMD [ "uv", "run", "main.py" ] diff --git a/Dockerfile_with_node b/Dockerfile_with_node index 3bd37468a..9f28b2d4d 100644 --- a/Dockerfile_with_node +++ b/Dockerfile_with_node @@ -26,10 +26,9 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | b RUN /bin/bash -c ". \"$NVM_DIR/nvm.sh\" && node -v && npm -v" RUN python -m pip install uv -RUN uv pip install -r requirements.txt --no-cache-dir --system -RUN uv pip install socksio uv pyffmpeg --no-cache-dir --system +RUN uv sync --no-dev --no-cache EXPOSE 6185 EXPOSE 6186 -CMD ["python", "main.py"] +CMD ["uv", "run", "main.py"] From 62ffa59bed8b4fee5750fb9f62e8b0a1fa603f0a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:14:28 +0000 Subject: [PATCH 3/4] Add pilk, pyffmpeg, and socksio to dependencies Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com> --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c83fdf2dd..7f6c96c34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,9 @@ dependencies = [ "quart>=0.20.0", "readability-lxml>=0.8.4.1", "silk-python>=0.2.6", + "pilk>=0.1.8", + "pyffmpeg>=2.4.2.1", + "socksio>=1.0.0", "slack-sdk>=3.35.0", "sqlalchemy[asyncio]>=2.0.41", "sqlmodel>=0.0.24", From 2a153329eac748146cab314846deeab672bf2c60 Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Sun, 2 Nov 2025 13:06:21 +0800 Subject: [PATCH 4/4] Update pyproject.toml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7f6c96c34..0ae85eb12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,8 +48,8 @@ dependencies = [ "quart>=0.20.0", "readability-lxml>=0.8.4.1", "silk-python>=0.2.6", - "pilk>=0.1.8", "pyffmpeg>=2.4.2.1", + "pilk>=0.1.8", "socksio>=1.0.0", "slack-sdk>=3.35.0", "sqlalchemy[asyncio]>=2.0.41",