Internal
Public Access
Remove mysqlclient and add Pillow dependencies
- Remove mysqlclient from requirements.txt (using PostgreSQL only) - Add libjpeg-dev and zlib1g-dev for Pillow image processing - Fixes build failure when installing Python packages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.5
parent
a52b09463a
commit
5a2585e9bd
@@ -7,6 +7,8 @@ FROM python:3.12-slim-bookworm AS builder
|
|||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
gcc \
|
gcc \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
|
libjpeg-dev \
|
||||||
|
zlib1g-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Python dependencies
|
# Install Python dependencies
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ djangorestframework-simplejwt>=5.3.0
|
|||||||
|
|
||||||
# Database
|
# Database
|
||||||
psycopg2-binary>=2.9.9 # PostgreSQL driver
|
psycopg2-binary>=2.9.9 # PostgreSQL driver
|
||||||
mysqlclient>=2.2.0 # MariaDB/MySQL driver
|
|
||||||
dj-database-url>=2.1.0 # Universal database URL parser
|
dj-database-url>=2.1.0 # Universal database URL parser
|
||||||
|
|
||||||
# Task queue
|
# Task queue
|
||||||
|
|||||||
Reference in New Issue
Block a user