FROM python:3.11-slim

WORKDIR /app

# Install system dependencies
RUN apt-get update && apt-get install -y redis-tools && rm -rf /var/lib/apt/lists/*

# Install dependencies
RUN pip install requests redis

# Copy application code
COPY . .

# Run the bot
CMD ["python", "bot.py"]
