init
Some checks failed
Java CI / build (push) Has been cancelled

This commit is contained in:
2026-02-02 14:05:24 +08:00
commit c9448cbedc
374 changed files with 61118 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# base image
FROM openjdk:21-jdk-slim
# maintainer
MAINTAINER xuxueli
# set params
ENV PARAMS=""
# set timezone
ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# copy jar
ADD target/xxl-job-executor-sample-springboot-ai*.jar /app.jar
# command
# log home: -e LOG_HOME=/data/applogs
# jvm options: -e JAVA_OPTS="-Xms128m -Xmx128m"
# app params: -e PARAMS="--server.port=8080"
ENTRYPOINT ["sh","-c","java ${LOG_HOME:+-DLOG_HOME=$LOG_HOME} -jar $JAVA_OPTS /app.jar $PARAMS"]