add CI/CD

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-09-17 23:48:11 +02:00
parent 836080b649
commit 716b65c5de
5 changed files with 718 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ COPY --chown=app ${SERVICE_ROOT}/gradlew ${SERVICE_ROOT}/build.gradle ${SERVICE_
COPY --chown=app:app ${SERVICE_ROOT}/src ./src
# Build the production package
RUN ./gradlew clean build
RUN ./gradlew clean build -x test
# Running stage: the part that is used for running the application
FROM eclipse-temurin:21-jre-jammy