moved to py-tgcalls

new dockerfile structure
This commit is contained in:
levina 2021-09-09 09:36:32 +07:00 committed by GitHub
parent 428bb1d89f
commit 61aaf0302b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,17 @@
FROM python:latest
FROM python:3.9
RUN apt-get update && apt-get upgrade -y
RUN apt-get install ffmpeg -y
RUN python3 -m pip install --upgrade pip
RUN apt update && apt upgrade -y
RUN apt install python3-pip -y
RUN apt install ffmpeg -y
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
RUN npm i -g npm
COPY . /py
WORKDIR /py
RUN python3 -m pip install -U -r requirements.txt
RUN pip3 install --upgrade pip
RUN pip3 install -U -r requirements.txt
CMD python3 -m bot