From 81ff0fba2a1313b51dbf840691addfc4141de571 Mon Sep 17 00:00:00 2001 From: sebdet Date: Tue, 3 Mar 2020 05:37:40 -0800 Subject: 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 --- src/main/docker/frontend/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main') diff --git a/src/main/docker/frontend/Dockerfile b/src/main/docker/frontend/Dockerfile index 279e94d50..1bcf4b06c 100644 --- a/src/main/docker/frontend/Dockerfile +++ b/src/main/docker/frontend/Dockerfile @@ -51,4 +51,5 @@ RUN rm /etc/nginx/conf.d/default.conf 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 -- cgit 1.2.3-korg