疯狂的狮子Li
2023-01-13 a3e23b259ca0403a38b5b84f769fea077514ee41
ruoyi-extend/ruoyi-xxl-job-admin/Dockerfile
@@ -1,11 +1,16 @@
FROM openjdk:8-jre-slim
MAINTAINER xuxueli
FROM anapsix/alpine-java:8_server-jre_unlimited
ENV PARAMS=""
MAINTAINER Lion Li
RUN mkdir -p /ruoyi/xxljob/logs
WORKDIR /ruoyi/xxljob
ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ADD target/xxl-job-admin-*.jar /app.jar
EXPOSE 9100
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /app.jar $PARAMS"]
ADD ./target/ruoyi-xxl-job-admin.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]