video-stream/Dockerfile
2021-10-31 05:15:42 +07:00

10 lines
310 B
Docker

FROM nikolaik/python-nodejs:python3.9-nodejs16
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"]