WEB VIDEO PLATFORM是一个基于GB28181-2016标准实现的网络视频平台,支持NAT穿透,支持海康、大华、宇视等品牌的IPC、NVR、DVR接入。支持国标级联,支持rtsp/rtmp等视频流转发到国标平台,支持rtsp/rtmp等推流转发到国标平台。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
913 B

FROM ubuntu:20.04 AS build
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" && \
apt-get install -y --no-install-recommends openjdk-11-jre-headless git maven nodejs npm &&\
cd /home &&\
git clone https://gitee.com/18010473990/maven.git && \
cp maven/settings.xml /usr/share/maven/conf/ && \
git clone https://gitee.com/xieyu1989/wvp-GB28181.git && \
cd /home/wvp-GB28181/web_src && \
npm install && \
npm run build && \
mkdir -p /opt/wvp/config && \
cd /home/wvp-GB28181 && \
mvn clean package -Dmaven.test.skip=true && \
cp src/main/resources/application-docker.yml /opt/wvp/conf/application.yml && \
cp target/wvp*.jar /opt/wvp/
FROM openjdk:11-jre-buster
EXPOSE 18080/tcp
EXPOSE 5060:5060/tcp
EXPOSE 5060:5060/udp
COPY --from=build /opt /opt
WORKDIR /opt/wvp
CMD ["java", "-jar","*.jar","--spring.config.location=/opt/wvp/conf/application.yml"]