Skip to content

Commit

Permalink
chore(ci):[#463] Fix quality check scan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed Apr 10, 2024
1 parent 736b8e6 commit d601490
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit d601490

Please sign in to comment.