Skip to content

Commit

Permalink
update runner as nonroot
Browse files Browse the repository at this point in the history
  • Loading branch information
Ardakilic committed Oct 14, 2024
1 parent 8d5023e commit 5c64a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN yarn install --prod

# Create the final image
# FROM node:20-slim AS runner
FROM gcr.io/distroless/nodejs20-debian12:latest
FROM gcr.io/distroless/nodejs20-debian12:nonroot

WORKDIR /app

Expand Down

0 comments on commit 5c64a15

Please sign in to comment.