video-stream/Dockerfile
2022-02-01 04:46:16 +07:00

11 lines
379 B
Docker

# this docker will installed latest build version of NodeJs and Python version
FROM nikolaik/python-nodejs:latest
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY . /app/
WORKDIR /app/
RUN pip3 install --no-cache-dir --upgrade --requirement requirements.txt
CMD ["python3", "main.py"]