funapi / Dockerfile
imperialwool's picture
this
7bf2558
FROM debian:latest
COPY . /app
WORKDIR /app
RUN apt update && apt install ffmpeg software-properties-common -y
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt update && apt install python3.11 python3.11-pip
RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
CMD ["python", "app.py"]