diff --git a/Dockerfile b/Dockerfile index 4aaee35410..a70e69316d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,17 +15,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ gnupg \ git \ + && curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ + && apt-get install -y --no-install-recommends nodejs \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -RUN apt-get update && apt-get install -y curl gnupg \ - && curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ - && apt-get install -y nodejs - RUN python -m pip install uv \ - && echo "3.12" > .python-version -RUN uv pip install -r requirements.txt --no-cache-dir --system -RUN uv pip install socksio uv pilk --no-cache-dir --system + && echo "3.12" > .python-version \ + && uv export --format requirements.txt --output-file requirements.txt --frozen \ + && uv pip install -r requirements.txt --no-cache-dir --system \ + && uv pip install socksio uv pilk --no-cache-dir --system EXPOSE 6185 diff --git a/requirements.txt b/requirements.txt index 98e1f85cf1..a2ea1a656d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,7 +29,7 @@ pillow>=11.2.1 pip>=25.1.1 psutil>=5.8.0,<7.2.0 py-cord>=2.6.1 -pydantic~=2.10.3 +pydantic>=2.12.5 pydub>=0.25.1 pyjwt>=2.10.1 python-telegram-bot>=22.0