From a6cf4eea0163425ad5bbfcaebf4a23705b5ece53 Mon Sep 17 00:00:00 2001 From: cal Date: Mon, 16 Mar 2026 16:40:04 +0000 Subject: [PATCH] fix: pin base image to Debian Bookworm for Playwright compatibility The tiangolo base image recently moved to Debian Trixie (testing), which Playwright doesn't support yet. `playwright install-deps` fails because ttf-unifont and ttf-ubuntu-font-family packages were renamed/removed in Trixie. Pinning to slim-bookworm (Debian 12) restores compatibility. 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 63899b0..dbabd74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11 +FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11-slim-bookworm WORKDIR /usr/src/app @@ -38,4 +38,4 @@ RUN pip install --no-cache-dir -r requirements.txt RUN playwright install chromium RUN playwright install-deps chromium -COPY ./app /app/app \ No newline at end of file +COPY ./app /app/app