xian-ncc-da-server/Dockerfile-local-test

11 lines
261 B
Plaintext
Raw Permalink Normal View History

2024-10-18 11:42:27 +08:00
FROM openjdk:17
2023-06-06 17:31:42 +08:00
ADD target/xian-ncc-da-0.1.jar xian-ncc-da.jar
2023-06-06 17:31:42 +08:00
EXPOSE 9081
2023-06-06 17:31:42 +08:00
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=dev /xian-ncc-da.jar