Skip to content

Commit

Permalink
fix: update alpine packages (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJosipovic authored Mar 24, 2023
1 parent 4db2b21 commit 3ff4d08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ingress-nginx-validate-jwt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ EXPOSE 8080
EXPOSE 8443
ENV ASPNETCORE_URLS=http://+:8080

RUN apk update && \
apk upgrade && \
rm -rf /var/cache/apk/*

RUN addgroup -g 2000 appgroup \
&& adduser -u 1000 -G appgroup -D "appuser"

RUN chown appuser:appgroup /app
USER appuser:appgroup

COPY --from=publish /app/publish .
ENTRYPOINT ["./ingress-nginx-validate-jwt"]
ENTRYPOINT ["./ingress-nginx-validate-jwt"]

0 comments on commit 3ff4d08

Please sign in to comment.