FROM python:3.9-slim RUN apt-get update && apt-get install -y \ git libnss3 libx11-6 libxcomposite1 libxcursor1 \ libxi6 libxtst6 libgl1-mesa-glx libxrandr2 RUN pip install playwright==1.32.1 && \ playwright install chromium WORKDIR /app COPY Dockerfile requirements.txt app.py ./ CMD ["python", "app.py"]