telegram-azure-transcribe-bot/Dockerfile

10 lines
519 B
Text
Raw Normal View History

2023-11-30 21:02:52 -06:00
FROM python:3.10-bullseye
RUN apt update && apt upgrade -y && apt install -y ffmpeg build-essential libssl-dev ca-certificates libasound2 wget && \
pip install "python-telegram-bot[job-queue]" python-dotenv azure-cognitiveservices-speech pydub
2023-11-30 21:03:45 -06:00
WORKDIR /app
COPY *.py .
LABEL org.opencontainers.image.source=https://github.com/Ceralor/telegram-azure-transcribe-bot
LABEL org.opencontainers.image.description="Azure Transcription bot for Telegram"
LABEL org.opencontainers.image.licenses=MIT
2023-11-30 21:02:52 -06:00
CMD ["python", "bot.py"]