From 6b40106096439622d1d3fca6ae5777166d6e4f0d Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Mon, 21 Feb 2022 11:13:55 +0100 Subject: [PATCH] fix(secu): use numeric docker user (#58) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 46ebfae..fe409b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ COPY . /app/ RUN yarn --frozen-lockfile --prefer-offline && yarn cache clean RUN yarn build -USER node +USER 1000 ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1