FROM mcr.microsoft.com/playwright/python:v1.57.0-jammy WORKDIR /app # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application COPY monitor.py . # Create data directory RUN mkdir -p /data && chmod 777 /data CMD ["python", "-u", "monitor.py"]