# --- Base Image --- FROM python:3.11-slim # --- System dependencies --- RUN apt-get update && apt-get install -y \ ffmpeg \ python3-dev \ libffi-dev \ libnacl-dev \ build-essential \ && rm -rf /var/lib/apt/lists/* # --- Set work directory --- WORKDIR /app # --- Copy requirements --- COPY requirements.txt . # --- Install python dependencies --- RUN pip install --no-cache-dir -r requirements.txt # --- Copy bot code --- COPY . . # --- Set environment variables --- ENV PYTHONUNBUFFERED=1 # --- Start bot --- CMD ["python", "bot.py"]