Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-vavdiya committed Sep 5, 2024
1 parent 42ed843 commit 234a7a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions revocation-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
FROM eclipse-temurin:17-jre-alpine

# run as non-root user
RUN addgroup -g 11111 -S miw && adduser -u 11111 -S -s /bin/false -G miw miw
RUN addgroup -g 11111 -S revocation-service && adduser -u 11111 -S -s /bin/false -G revocation-service revocation-service

# add curl for healthcheck
RUN apt-get update && apt-get install -y curl
RUN apk add curl

USER miw
USER revocation-service

COPY ./LICENSE ./NOTICE.md ./revocation-service/DEPENDENCIES ./SECURITY.md ./revocation-service/build/libs/revocation-service-latest.jar /app/

Expand Down

0 comments on commit 234a7a0

Please sign in to comment.