video-stream/Dockerfile

20 lines
449 B
Docker
Raw Normal View History

2021-09-10 10:54:39 +00:00
FROM python:3.9.7-slim-buster
2021-09-09 01:18:24 +00:00
2021-09-10 10:54:39 +00:00
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y nodejs \
npm
2021-09-10 13:07:29 +00:00
RUN apt-get install npm -y
2021-09-10 10:54:39 +00:00
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
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
2021-09-13 08:36:03 +00:00
RUN pip3 install -r requirements.txt
2021-09-09 01:18:24 +00:00
2021-10-25 07:55:45 +00:00
CMD python3 -m program