diff options
-rw-r--r-- | standalone/src/main/assembly/Dockerfile | 4 |
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"] |