rt-sim-training-service/Dockerfile
soul-walker b10ea3b6ba
Some checks failed
CI / Docker-Build (push) Failing after 33s
添加local_test持续集成部署工作流
2024-03-21 15:29:19 +08:00

11 lines
314 B
Docker

FROM azul/zulu-openjdk-alpine:11
ADD target/rtss-0.0.1-SNAPSHOT.jar rtss-service.jar
ENV APP_ENV=prd
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=$APP_ENV /rtss-service.jar