diff options
author | sebdet <sebastien.determe@intl.att.com> | 2020-03-03 05:37:40 -0800 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2020-03-03 05:37:40 -0800 |
commit | 81ff0fba2a1313b51dbf840691addfc4141de571 (patch) | |
tree | a39285877ebbac582bc2f983b6cc1530df559ab7 /src/main/docker/frontend/Dockerfile | |
parent | ae6a9829f0c572cb4789812ea65871132ec861fd (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/main/docker/frontend/Dockerfile')
-rw-r--r-- | src/main/docker/frontend/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/docker/frontend/Dockerfile b/src/main/docker/frontend/Dockerfile index 279e94d5..1bcf4b06 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 |