rt-sim-training-service/Dockerfile-local-test
2022-06-29 17:09:32 +08:00

11 lines
266 B
Plaintext

FROM openjdk:11
ADD target/rtss-0.0.1-SNAPSHOT.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=local-test /app.jar