From 0344534f268878013138d60e29c450298d15f459 Mon Sep 17 00:00:00 2001 From: kaixiliu Date: Mon, 19 Jun 2023 16:53:39 +0800 Subject: useradd uui for intent-analysis. Issue-ID: USECASEUI-812 Signed-off-by: kaixiliu Change-Id: I578a9a404732f92a9c12a7564abdcd3bb3686df9 --- standalone/src/main/assembly/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile index cdbe957..195cd65 100644 --- a/standalone/src/main/assembly/Dockerfile +++ b/standalone/src/main/assembly/Dockerfile @@ -10,5 +10,9 @@ WORKDIR /home/uui EXPOSE 8083 +RUN addgroup -S uui && adduser -S uui -G uui && chown -R uui:uui /home/uui + +USER UUI +WORKDIR /home/uui ENTRYPOINT ["sh", "-c"] CMD ["exec java -jar usecase-ui-intent-analysis.jar"] -- cgit 1.2.3-korg