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) <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user