2023-02-16 15:39:20 +08:00
|
|
|
FROM openjdk:17
|
2022-06-29 17:09:32 +08:00
|
|
|
|
2023-02-16 18:05:08 +08:00
|
|
|
ADD rtss/target/rtss-0.0.1-SNAPSHOT.jar app.jar
|
2022-06-29 17:09:32 +08:00
|
|
|
|
|
|
|
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
|