Change the user in the frontent
Use clamp user instead of root for the frontend nginx
Issue-ID: CLAMP-625
Change-Id: I9bd7e3f3d1908c7e22c5435c792910b8245780b4
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
diff --git a/src/main/docker/frontend/Dockerfile b/src/main/docker/frontend/Dockerfile
index 279e94d..1bcf4b0 100644
--- a/src/main/docker/frontend/Dockerfile
+++ b/src/main/docker/frontend/Dockerfile
@@ -51,4 +51,5 @@
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
COPY nginx/nginx.conf /etc/nginx/conf.d
EXPOSE 443
+USER clamp
CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file