merge pull request #17 from levina-lab/main

push commit from base main
This commit is contained in:
levina 2021-10-30 00:35:26 +07:00 committed by GitHub
commit bc4a972e5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 18 deletions

View File

@ -1,19 +1,8 @@
FROM python:3.9.7-slim-buster FROM nikolaik/python-nodejs:python3.10-nodejs17
RUN apt-get update && apt-get upgrade -y
RUN apt-get update && apt-get upgrade -y && \ RUN apt-get install ffmpeg -y
apt-get install -y nodejs \
npm
RUN apt-get install npm -y
RUN apt-get install git curl python3-pip ffmpeg -y
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
RUN npm install -g npm@7.22.0
RUN npm i -g npm
COPY . /py COPY . /py
WORKDIR /py WORKDIR /py
RUN pip3 install -U pip
RUN pip3 install --upgrade pip RUN pip3 install -U -r requirements.txt
RUN pip3 install -r requirements.txt
CMD python3 -m program CMD python3 -m program

View File

@ -3,8 +3,8 @@ asyncio
ffmpeg-python ffmpeg-python
py-tgcalls==0.8.1rc1 py-tgcalls==0.8.1rc1
git+https://github.com/pyrogram/pyrogram@master git+https://github.com/pyrogram/pyrogram@master
youtube_search_python youtube-search-python
youtube_search youtube-search
httpx==0.13.3 httpx==0.13.3
python-dotenv python-dotenv
aiofiles aiofiles