FROM python:3.12-slim WORKDIR /app RUN apt-get update && apt-get install -y \ build-essential \ libxml2-dev \ libxslt1-dev \ && rm -rf /var/lib/apt/lists/* COPY requirements.scraper.txt /app/requirements.scraper.txt RUN pip install --no-cache-dir -r /app/requirements.scraper.txt COPY . /app CMD ["python3", "-c", "print('scraper worker ready')"]