| 1234567891011121314151617181920212223 |
- FROM python:3.11-slim
- # Dependances systeme
- RUN apt-get update && apt-get install -y \
- ffmpeg \
- libportaudio2 \
- git \
- wget \
- && rm -rf /var/lib/apt/lists/*
- WORKDIR /app
- # Dependances Python
- COPY requirements.txt .
- RUN pip install --no-cache-dir -r requirements.txt
- # Code du bot
- COPY bot.py .
- # Dossiers de donnees (montes en volumes)
- RUN mkdir -p memory voices repos
- CMD ["python3", "bot.py"]
|