fix: use Python 3.12-slim for compatible Debian package names
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# Python 3.13-slim + FastAPI + uvicorn
|
# Python 3.13-slim + FastAPI + uvicorn
|
||||||
# System packages: WeasyPrint (libpango, libcairo), Pillow (libjpeg, libpng)
|
# System packages: WeasyPrint (libpango, libcairo), Pillow (libjpeg, libpng)
|
||||||
|
|
||||||
FROM python:3.13-slim AS base
|
FROM python:3.12-slim AS base
|
||||||
|
|
||||||
# --- System packages for WeasyPrint and Pillow ---
|
# --- System packages for WeasyPrint and Pillow ---
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|||||||
Reference in New Issue
Block a user