2023-09-12 09:26:50 +08:00
|
|
|
FROM eclipse-temurin:17-jre-focal
|
2023-09-04 16:41:58 +08:00
|
|
|
|
|
|
|
MAINTAINER Shikong <919411476@qq.com>
|
|
|
|
|
|
|
|
ENV HOME_PATH /opt/gb28181-docking-platform-mocking/
|
2023-09-22 08:39:32 +08:00
|
|
|
ENV TZ Asia/Shanghai
|
2023-09-04 16:41:58 +08:00
|
|
|
RUN mkdir -p $HOME_PATH
|
|
|
|
WORKDIR $HOME_PATH
|
|
|
|
|
2023-09-16 16:25:13 +08:00
|
|
|
RUN mkdir -p /usr/bin/ffmpeg
|
2023-09-16 16:43:08 +08:00
|
|
|
ADD ./ffmpeg/ffmpeg /usr/bin/ffmpeg/ffmpeg
|
|
|
|
ADD ./ffmpeg/ffprobe /usr/bin/ffmpeg/ffprobe
|
|
|
|
ADD ./ffmpeg/model /usr/bin/ffmpeg/model
|
2023-09-16 16:25:13 +08:00
|
|
|
|
2023-09-04 17:01:59 +08:00
|
|
|
ADD target/gb28181-mocking-starter.jar /opt/gb28181-docking-platform-mocking/starter.jar
|
2023-09-04 16:41:58 +08:00
|
|
|
|
|
|
|
EXPOSE 18182
|
|
|
|
|
|
|
|
ENTRYPOINT ["java", "-jar","/opt/gb28181-docking-platform-mocking/starter.jar"]
|