From d60149045203650c8eadb005e50bc4667bd0a2d2 Mon Sep 17 00:00:00 2001 From: Jaro Hartmann Date: Wed, 10 Apr 2024 14:35:13 +0200 Subject: [PATCH] chore(ci):[#463] Fix quality check scan issue --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ad62273994..f795367e8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,14 +51,11 @@ RUN --mount=type=cache,target=/root/.m2 mvn -B clean package -pl :$BUILD_TARGET # Copy the jar and build image FROM eclipse-temurin:17-jre-alpine AS irs-api -ARG UID=10000 -ARG GID=3000 - WORKDIR /app COPY --chmod=755 --from=maven /build/irs-api/target/irs-api-*-exec.jar app.jar -USER ${UID}:${GID} +USER 10000:3000 ENTRYPOINT ["java", "-Djava.util.logging.config.file=./logging.properties", "-jar", "app.jar"]