2023-11-02 16:33:24 +08:00
|
|
|
FROM adoptopenjdk/openjdk8:ubi
|
|
|
|
WORKDIR /home
|
|
|
|
COPY target/*.jar /home/app.jar
|
|
|
|
EXPOSE 9000
|
2024-03-12 13:05:03 +08:00
|
|
|
EXPOSE 18085
|
2023-11-02 16:33:24 +08:00
|
|
|
ENV TZ "Asia/Shanghai"
|
|
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
|
2024-01-16 14:19:04 +08:00
|
|
|
ENV PROFILES_OPTS=""
|
|
|
|
ENV JAVA_OPTS=""
|
|
|
|
ENTRYPOINT [ "sh", "-c","java $PROFILES_OPTS $JAVA_OPTS -jar /home/app.jar" ]
|