diff --git a/Dockerfile b/Dockerfile index 6e425023..c549c336 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11.4-slim-bullseye +FROM python:3.11.4-slim-bookworm ARG MOVIEPILOT_VERSION ENV LANG="C.UTF-8" \ TZ="Asia/Shanghai" \ @@ -16,6 +16,7 @@ ENV LANG="C.UTF-8" \ IYUU_SIGN="" WORKDIR "/app" RUN apt-get update -y \ + && apt-get upgrade -y \ && apt-get -y install \ musl-dev \ nginx \ @@ -41,10 +42,6 @@ RUN apt-get update -y \ then ln -s /usr/lib/aarch64-linux-musl/libc.so /lib/libc.musl-aarch64.so.1; \ fi \ && curl https://rclone.org/install.sh | bash \ - && echo "deb http://deb.debian.org/debian bookworm main" >> /etc/apt/sources.list \ - && apt-get update -y \ - && apt-get install -y --only-upgrade ca-certificates \ - && sed -i '/deb http:\/\/deb\.debian\.org\/debian bookworm main/d' /etc/apt/sources.list \ && apt-get autoremove -y \ && apt-get clean -y \ && rm -rf \ diff --git a/requirements.txt b/requirements.txt index c7079ea7..25acb3b0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -33,7 +33,7 @@ bs4~=0.0.1 beautifulsoup4~=4.12.2 pillow~=9.5.0 pyTelegramBotAPI~=4.12.0 -playwright~=1.34.0 +playwright~=1.37.0 cf_clearance~=0.29.2 torrentool~=1.2.0 slack_bolt~=1.18.0