19 lines
481 B
Docker
19 lines
481 B
Docker
FROM python:3.11
|
|
|
|
WORKDIR /app
|
|
|
|
# apt install
|
|
RUN apt-get update && \
|
|
DEBAIN_FRONTEND=noninteractive apt-get install -qy ffmpeg
|
|
# other packages if needed
|
|
# git openssh-server vim net-tools iputils-ping btop tmux wget
|
|
|
|
# pip3 install
|
|
COPY ./requirements.txt /app/requirements.txt
|
|
COPY ./ffmpeg_python-0.2.0-py3-none-any.whl /app/ffmpeg_python-0.2.0-py3-none-any.whl
|
|
|
|
RUN pip3 install -r /app/requirements.txt
|
|
RUN pip3 install ffmpeg_python-0.2.0-py3-none-any.whl
|
|
|
|
EXPOSE 50051
|