aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaixiliu <liukaixi@chinamobile.com>2023-06-19 16:53:39 +0800
committerkaixiliu <liukaixi@chinamobile.com>2023-06-19 16:54:04 +0800
commit0344534f268878013138d60e29c450298d15f459 (patch)
tree49cab442ef874595dff2c078beb24c72fae65ecd
parentb95b2b8150ac47ddb21e89f23077c24fa4fb5604 (diff)
useradd uui for intent-analysis.
Issue-ID: USECASEUI-812 Signed-off-by: kaixiliu <liukaixi@chinamobile.com> Change-Id: I578a9a404732f92a9c12a7564abdcd3bb3686df9
-rw-r--r--standalone/src/main/assembly/Dockerfile4
1 files changed, 4 insertions, 0 deletions
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"]