video-stream/Dockerfile

20 lines
385 B
Docker
Raw Normal View History

FROM python:3.9
2021-09-09 01:18:24 +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
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
RUN npm i -g npm
2021-09-09 01:18:24 +00:00
COPY . /py
WORKDIR /py
RUN pip3 install --upgrade pip
RUN pip3 install -U -r requirements.txt
2021-09-09 01:18:24 +00:00
CMD python3 -m bot