chore: update Python version requirements to 3.12 (#4963)

This commit is contained in:
Soulter
2026-02-08 23:13:51 +08:00
committed by GitHub
parent 96753821b7
commit 3fd89808ee
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.12-slim
WORKDIR /AstrBot
COPY . /AstrBot/
@@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y curl gnupg \
&& apt-get install -y nodejs
RUN python -m pip install uv \
&& echo "3.11" > .python-version
&& 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