gb28181-docking-platform-proxy/gb28181-wvp-proxy-starter/Dockerfile

20 lines
543 B
Docker
Raw Permalink Normal View History

FROM eclipse-temurin:17-jre-focal
2023-09-05 10:00:41 +08:00
MAINTAINER Shikong <919411476@qq.com>
ENV HOME_PATH /opt/gb28181-docking-platform-wvp-proxy/
2023-09-22 08:41:43 +08:00
ENV TZ Asia/Shanghai
2023-09-05 10:00:41 +08:00
RUN mkdir -p $HOME_PATH
WORKDIR $HOME_PATH
RUN mkdir -p /usr/bin/ffmpeg
ADD ./ffmpeg/ffmpeg /usr/bin/ffmpeg/ffmpeg
ADD ./ffmpeg/ffprobe /usr/bin/ffmpeg/ffprobe
ADD ./ffmpeg/model /usr/bin/ffmpeg/model
2023-09-05 10:00:41 +08:00
ADD target/gb28181-wvp-proxy-starter.jar /opt/gb28181-docking-platform-wvp-proxy/starter.jar
2023-09-18 15:31:33 +08:00
EXPOSE 18183
2023-09-05 10:00:41 +08:00
ENTRYPOINT ["java", "-jar","/opt/gb28181-docking-platform-wvp-proxy/starter.jar"]