24 lines
507 B
Plaintext
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
|