telegram-audio-bot / Dockerfile
akdNIKY's picture
Update Dockerfile
fa8de9d verified
raw
history blame contribute delete
298 Bytes
FROM python:3.10-slim-buster
RUN apt-get update && apt-get install -y \
ffmpeg \
libopus-dev \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
COPY app.py .
RUN pip install --no-cache-dir -r requirements.txt
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]