From 6ca6bd2d73b26c70d8c071a6088b35783a5c386c Mon Sep 17 00:00:00 2001 From: abhishek8shankar <127825992+abhishek8shankar@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:59:38 +0530 Subject: [PATCH] [MOSIP-31575] Updated docker file. Signed-off-by: abhishek8shankar <127825992+abhishek8shankar@users.noreply.github.com> --- .../init/registration-processor-dmz-packet-server/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/registration-processor/init/registration-processor-dmz-packet-server/Dockerfile b/registration-processor/init/registration-processor-dmz-packet-server/Dockerfile index 3c0d0964967..e1922f2297b 100644 --- a/registration-processor/init/registration-processor-dmz-packet-server/Dockerfile +++ b/registration-processor/init/registration-processor-dmz-packet-server/Dockerfile @@ -35,3 +35,5 @@ RUN groupadd -g ${container_user_gid} ${container_user_group} \ # Start Nginx with daemon off CMD ["nginx", "-g", "daemon off;"] + +USER ${container_user_uid}:${container_user_gid}