Files
pqs/pqs-device/device-boot/Dockerfile
2024-11-11 09:14:40 +08:00

5 lines
459 B
Docker

FROM openjdk:8-jdk-alpine
ADD target/deviceboot.jar deviceboot.jar
ENTRYPOINT ["/bin/sh", "-c" , "echo 25.36.214.50 dwzyywzt-pms3-proxy.com >> /etc/hosts && echo 25.36.227.20 pms.pms30.com.cn >> /etc/hosts && echo 25.36.181.69 8d051549520e423ab8dccf8b3d457c74.apigw.he-region-2.sgic.sgcc.com.cn >> /etc/hosts && exec java -jar deviceboot.jar" ]
EXPOSE 10202
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \&& echo 'Asia/Shanghai' >/etc/timezone