From b99c49d6016e735d77eae66da6598db38b3f078a Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 11 Nov 2025 10:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Dockerfile=20=E7=94=A8?= =?UTF-8?q?=E4=BA=8E=E6=89=93=E5=8C=85=20docker=20=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xxl-job-executor-sample-springboot-ai/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile diff --git a/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile new file mode 100644 index 00000000..d67f9f3a --- /dev/null +++ b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile @@ -0,0 +1,12 @@ +FROM openjdk:21-jdk-slim +MAINTAINER xuxueli + +ENV LOG_HOME=/data/applogs +ENV PARAMS="" + +ENV TZ=PRC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +ADD target/xxl-job-executor-sample-springboot-ai*.jar /app.jar + +ENTRYPOINT ["sh","-c","java -DLOG_HOME=$LOG_HOME -jar $JAVA_OPTS /app.jar $PARAMS"] \ No newline at end of file