From 61aaf0302b6003ef8123bcdb9d3efecf90c46ebb Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 9 Sep 2021 09:36:32 +0700 Subject: [PATCH] moved to py-tgcalls new dockerfile structure --- Dockerfile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e3ae972..c4c34bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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