FROM python:3.11-slim # Set working directory WORKDIR /app # Copy requirements and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy bot file COPY bot.py . # Run the bot CMD ["python", "bot.py"]