Reordered to reduce rebuild amount

This commit is contained in:
Kay Ohtie 2023-11-30 21:03:45 -06:00
parent 12e4e501b2
commit 4f11f2346a

View file

@ -1,6 +1,6 @@
FROM python:3.10-bullseye
WORKDIR /app
COPY *.py .
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
WORKDIR /app
COPY *.py .
CMD ["python", "bot.py"]