niming_igapi/Dockerfile

19 lines
481 B
Docker
Raw Normal View History

2024-12-18 03:06:40 +08:00
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