xian-ncc-da-server/Dockerfile-local-test
2023-06-06 17:31:42 +08:00

11 lines
255 B
Plaintext

FROM openjdk:17
ADD target/xian-ncc-da-0.1.jar app.jar
EXPOSE 9000 19000/tcp
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 /app.jar