aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-03-03 05:37:40 -0800
committersebdet <sebastien.determe@intl.att.com>2020-03-03 05:37:40 -0800
commit81ff0fba2a1313b51dbf840691addfc4141de571 (patch)
treea39285877ebbac582bc2f983b6cc1530df559ab7 /src
parentae6a9829f0c572cb4789812ea65871132ec861fd (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/main/docker/frontend/Dockerfile1
1 files changed, 1 insertions, 0 deletions
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