FROM python:3.10-slim # Install FFmpeg and Fontconfig RUN apt-get update && apt-get install -y ffmpeg fontconfig && rm -rf /var/lib/apt/lists/* # Set working directory WORKDIR /app # Copy all files to the server COPY . . # Install Python packages RUN pip install --no-cache-dir -r requirements.txt # Run the bot CMD ["python", "main.py"]