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