20 lines
543 B
Docker
20 lines
543 B
Docker
FROM eclipse-temurin:17-jre-focal
|
|
|
|
MAINTAINER Shikong <919411476@qq.com>
|
|
|
|
ENV HOME_PATH /opt/gb28181-docking-platform-wvp-proxy/
|
|
ENV TZ Asia/Shanghai
|
|
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
|
|
|
|
ADD target/gb28181-wvp-proxy-starter.jar /opt/gb28181-docking-platform-wvp-proxy/starter.jar
|
|
|
|
EXPOSE 18183
|
|
|
|
ENTRYPOINT ["java", "-jar","/opt/gb28181-docking-platform-wvp-proxy/starter.jar"]
|