BF-Realtime / Dockerfile
SamiKoen
Pin Debian bookworm: trixie'de playwright font deps eksik
be7991b
raw
history blame contribute delete
422 Bytes
FROM python:3.11-slim-bookworm
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Playwright + Chromium runtime bagimliliklari
RUN playwright install-deps chromium && playwright install chromium
COPY . .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]