Some checks failed
Build Docker Image / build (push) Failing after 8m12s
The tiangolo/uvicorn-gunicorn-fastapi image moved to Debian Trixie (testing) which Playwright doesn't support — install-deps fails on renamed font packages. The tiangolo image only adds uvicorn/gunicorn which are already in requirements.txt, so switch to the official Python slim-bookworm image directly. Also removes the old commented-out Chrome manual install block that hasn't been used since the Playwright migration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 lines
220 B
Docker
11 lines
220 B
Docker
FROM python:3.11-slim-bookworm
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN playwright install chromium
|
|
RUN playwright install-deps chromium
|
|
|
|
COPY ./app /app/app
|