chore: wire split apps deployment config
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline was canceled

This commit is contained in:
lingniu
2026-06-24 14:38:59 +08:00
parent a70f8f39ad
commit 22468e78b4
23 changed files with 241 additions and 952 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM eclipse-temurin:25-jre
ARG APP_NAME
ARG APP_VERSION
ENV APP_NAME=${APP_NAME}
ENV APP_VERSION=${APP_VERSION}
ENV JAVA_OPTS=""
WORKDIR /app
COPY modules/apps/${APP_NAME}/target/${APP_NAME}.jar /app/app.jar
EXPOSE 20100 20200 20300 32960
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar /app/app.jar"]