video-stream/Dockerfile

11 lines
379 B
Docker
Raw Permalink Normal View History

2022-01-31 21:46:16 +00:00
# this docker will installed latest build version of NodeJs and Python version
2022-01-30 20:16:50 +00:00
FROM nikolaik/python-nodejs:latest
2021-10-30 22:15:42 +00:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
2022-01-30 20:16:50 +00:00
COPY . /app/
WORKDIR /app/
2021-10-30 22:15:42 +00:00
RUN pip3 install --no-cache-dir --upgrade --requirement requirements.txt
2021-10-30 04:31:39 +00:00
CMD ["python3", "main.py"]