Dockerfile 420 B

1234567891011121314151617181920212223
  1. FROM python:3.11-slim
  2. # Dependances systeme
  3. RUN apt-get update && apt-get install -y \
  4. ffmpeg \
  5. libportaudio2 \
  6. git \
  7. wget \
  8. && rm -rf /var/lib/apt/lists/*
  9. WORKDIR /app
  10. # Dependances Python
  11. COPY requirements.txt .
  12. RUN pip install --no-cache-dir -r requirements.txt
  13. # Code du bot
  14. COPY bot.py .
  15. # Dossiers de donnees (montes en volumes)
  16. RUN mkdir -p memory voices repos
  17. CMD ["python3", "bot.py"]