2021-09-09 02:36:32 +00:00
|
|
|
FROM python:3.9
|
2021-09-09 01:18:24 +00:00
|
|
|
|
2021-09-09 02:36:32 +00:00
|
|
|
RUN apt update && apt upgrade -y
|
|
|
|
RUN apt install python3-pip -y
|
|
|
|
RUN apt install ffmpeg -y
|
2021-09-10 06:24:13 +00:00
|
|
|
RUN apt-get install npm
|
2021-09-09 02:36:32 +00:00
|
|
|
|
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
|
|
|
RUN apt-get install -y nodejs
|
2021-09-10 06:24:13 +00:00
|
|
|
RUN npm install -g npm@7.22.0
|
2021-09-09 02:36:32 +00:00
|
|
|
RUN npm i -g npm
|
2021-09-09 01:18:24 +00:00
|
|
|
|
|
|
|
COPY . /py
|
|
|
|
WORKDIR /py
|
|
|
|
|
2021-09-09 02:36:32 +00:00
|
|
|
RUN pip3 install --upgrade pip
|
|
|
|
RUN pip3 install -U -r requirements.txt
|
2021-09-09 01:18:24 +00:00
|
|
|
|
|
|
|
CMD python3 -m bot
|