From 5c64a15ba02d0016f85f0a536e32aadb52050a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arda=20K=C4=B1l=C4=B1=C3=A7da=C4=9F=C4=B1?= Date: Mon, 14 Oct 2024 15:48:07 -0400 Subject: [PATCH] update runner as nonroot --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa0e0b8..63c8b27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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