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"] diff --git a/pyproject.toml b/pyproject.toml index c83fdf2dd..0ae85eb12 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", + "pyffmpeg>=2.4.2.1", + "pilk>=0.1.8", + "socksio>=1.0.0", "slack-sdk>=3.35.0", "sqlalchemy[asyncio]>=2.0.41", "sqlmodel>=0.0.24",