# Use Python 3.10 Slim FROM python:3.10-slim # Set working directory WORKDIR /app # 🛠️ INSTALL SYSTEM DEPENDENCIES # We added 'curl' here so your bridge works! RUN apt-get update && apt-get install -y \ curl \ git \ wget \ && rm -rf /var/lib/apt/lists/* # Install Python libraries COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Install Playwright Browsers (for your screenshots) RUN playwright install --with-deps chromium # Copy the rest of the code COPY . . # Permissions for writing files RUN chmod 777 /app # Start the bot CMD ["python", "main.py"]