From 6f161abd951baf8095912dbcb484fcce05709819 Mon Sep 17 00:00:00 2001 From: simojenki Date: Sun, 31 Jan 2021 10:47:36 +1100 Subject: [PATCH] Running node as nobody rather than root --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 862f203..5366147 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,4 +25,6 @@ COPY web web RUN yarn install --prod +USER nobody + CMD ["node", "./app.js"] \ No newline at end of file