From 37e18915a7946981c4ffad06ca24bf2c68eed166 Mon Sep 17 00:00:00 2001 From: Justin Franco Date: Thu, 23 Feb 2023 15:47:48 -0700 Subject: [PATCH] sre-924 Adds uuid to docker image nonroot user --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f854bb9..455acac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ FROM base AS prod COPY src/*.py ./ -RUN useradd -r -s /sbin/nologin nonroot +RUN useradd -r -s /sbin/nologin -u 999 nonroot USER nonroot EXPOSE 8080 CMD [ "python", "exporter.py" ]