rps-cv/rps/dockerfile

20 lines
464 B
Plaintext
Raw Normal View History

2019-10-20 18:44:16 +02:00
FROM python:3.8-slim-buster
WORKDIR /app
COPY . /app
RUN apt update && apt install -y \
libavdevice-dev \
libavfilter-dev \
libopus-dev \
libvpx-dev \
pkg-config \
&& \
rm -rf /var/lib/apt/lists/* \
2019-10-20 18:49:06 +02:00
RUN pip install --upgrade \
pip poetry \
&& poetry install \
2019-10-20 18:44:16 +02:00
CMD python -m backend