FROM python:3.10.2-bullseye

WORKDIR /app

# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt

# Install browsers for Playwright
RUN playwright install --with-deps chromium

COPY . /app

EXPOSE 8000
