20 lines
464 B
Plaintext
20 lines
464 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 \
|
|
&& poetry install \
|
|
|
|
CMD python -m backend
|