video-stream/Dockerfile
2021-12-15 18:23:53 +07:00

11 lines
311 B
Docker

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