Update Dockerfile

Add ffmpeg for vod.
This commit is contained in:
eatfishfish 2024-10-28 18:17:50 +08:00 committed by GitHub
parent f7aa4e37c3
commit 2b05532e55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -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"]