rps-cv/rps/dockerfile
2019-10-20 18:45:05 +02:00

24 lines
507 B
Plaintext

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/* \
RUN pip install --upgrade \
pip \
poetry \
RUN poetry update \
&& \
poetry install \
CMD python -m backend