content: FROM python:3.13-slim
  
  RUN pip install poetry
  
  RUN apt-get update && apt-get install -y \
      libnss3 \
      libatk1.0-0 \
      libatk-bridge2.0-0 \
      libcups2 \
      libxcomposite1 \
      libxrandr2 \
      libxdamage1 \
      libxkbcommon0 \
      libxshmfence1 \
      libgbm1 \
      libasound2 \
      libpangocairo-1.0-0 \
      libpango-1.0-0 \
      libgtk-3-0 \
      libx11-xcb1 \
      libx11-6 \
      libxext6 \
      libxfixes3 \
      libxrender1 \
      libxinerama1 \
      libgl1 \
      && apt-get clean \
      && rm -rf /var/lib/apt/lists/*
  
  WORKDIR /app
  ENV PYTHONPATH=/app
  
  COPY . .
  
  RUN poetry install --no-root
  RUN poetry run playwright install chromium
  
  CMD ["poetry", "run", "python", "holiday_price_tracker/bot.py"]
  