From b1737ba89dd802cbdea7a7c219074c0b1d546fed Mon Sep 17 00:00:00 2001 From: Franck Garnier Date: Sun, 12 Apr 2026 10:27:26 -0400 Subject: [PATCH] fix: install mysql-connector-python via pip instead of apt python3-mysql.connector not available in debian bookworm Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 738c274..5377018 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ python3-numpy \ python3-opencv \ python3-pil \ - python3-mysql.connector \ wget \ ca-certificates \ && rm -rf /var/lib/apt/lists/* -# Install additional Python packages +# Install additional Python packages via pip RUN pip3 install --no-cache-dir --break-system-packages \ + mysql-connector-python \ requests \ python-dotenv