FROM python:3.11-slim

WORKDIR /app

# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy bot code
COPY bot.py .

# Run bot
# Room URL should be passed as environment variable or CLI argument
CMD ["python", "-u", "bot.py"]
