video-stream/Dockerfile
2021-09-13 15:36:03 +07:00

20 lines
445 B
Docker

FROM python:3.9.7-slim-buster
RUN apt-get update && apt-get upgrade -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
WORKDIR /py
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
CMD python3 -m bot