2023-06-06 17:31:42 +08:00
|
|
|
FROM openjdk:17
|
|
|
|
|
2023-06-07 17:51:49 +08:00
|
|
|
ADD target/xian-ncc-da-0.1.jar xian-ncc-da.jar
|
2023-06-06 17:31:42 +08:00
|
|
|
|
2023-06-07 17:51:49 +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
|
|
|
|
|
2023-06-07 17:51:49 +08:00
|
|
|
CMD java -jar -Dfile.encoding=UTF-8 -Dspring.profiles.active=dev /xian-ncc-da.jar
|