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 .
|
2023-11-30 21:56:28 -06:00
|
|
|
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"]
|