xian-ncc-da-server/Dockerfile-master

11 lines
264 B
Plaintext
Raw Normal View History

2023-07-27 10:39:25 +08:00
FROM openjdk:17
ADD target/xian-ncc-da-0.1.jar xian-ncc-da.jar
EXPOSE 9081
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
CMD java -jar -Dfile.encoding=UTF-8 -Dspring.profiles.active=master /xian-ncc-da.jar