From 889545f3561d57b41af8df9cbbe9e6181e899aa1 Mon Sep 17 00:00:00 2001 From: Frank Zhou <34593008+Aquarius10th@users.noreply.github.com> Date: Sun, 23 Nov 2025 00:03:26 +0800 Subject: [PATCH] Specify the base image version to fix dependency missing or version conflict issues when using apt-get. The originally specified version 3.11-slim is only an alias representing the latest version in the 3.11.x-slim series (for example, on November 22nd, its exact version number was 3.11.14-slim). After the base image is updated, various unexpected errors may occur when executing apt-get. --- Dockerfile.backend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.backend b/Dockerfile.backend index 11d5bbd..0f784e2 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -1,5 +1,5 @@ -FROM --platform=linux/amd64 python:3.11-slim +FROM --platform=linux/amd64 python:3.11.12 ENV DEBIAN_FRONTEND=noninteractive # Install essential packages and Chrome dependencies @@ -100,4 +100,4 @@ COPY config.ini . EXPOSE 8000 # Run the application -CMD ["python3", "api.py"] \ No newline at end of file +CMD ["python3", "api.py"]