From 2b05532e5537dcfb40f16accc4ca59d64ae6fdc7 Mon Sep 17 00:00:00 2001 From: eatfishfish <124665442+eatfishfish@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:17:50 +0800 Subject: [PATCH] Update Dockerfile Add ffmpeg for vod. --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 893d1b5..e0135d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ENV LANG C.UTF-8 RUN sed -i 's@http://archive.ubuntu.com/ubuntu/@http://mirrors.aliyun.com/ubuntu/@g' /etc/apt/sources.list RUN apt-get update -q \ - && apt-get install -y git + && apt-get install -y git ffmpeg RUN mkdir -p /root/openpilot WORKDIR /root/openpilot @@ -15,4 +15,9 @@ WORKDIR /root/openpilot/openpilot-server # replace config with your domain RUN sed -i 's@laolang.duckdns.org@your_domain@g' /root/openpilot/openpilot-server/config.txt +RUN sed -i 's@D:\\\\software\\\\ffmpeg.exe@ffmpeg@g' /root/openpilot/openpilot-server/config.txt + +#COPY op ./op +RUN mkdir op + ENTRYPOINT ["/root/openpilot/openpilot-server/opserver_linux_amd64"]