diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2024-06-17 10:00:26 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2024-06-17 10:00:43 +0800 |
commit | e80fb3bade9224fdf2c768a643f7d75a331bc683 (patch) | |
tree | 997d8ae42bf752e97ed91ecada9a9f68c85f58cb /standalone/src | |
parent | 8b1c6bb2a063b0c4294f8ea2a54420b28da5df4d (diff) |
Add Dockerfile
Issue-ID: USECASEUI-838
Change-Id: I519549d1180cf8e72c8a4ecb5d7e4f7ef9d4a5bb
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'standalone/src')
-rw-r--r-- | standalone/src/main/assembly/Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile new file mode 100644 index 0000000..bfd5ede --- /dev/null +++ b/standalone/src/main/assembly/Dockerfile @@ -0,0 +1,18 @@ +FROM nexus3.onap.org:10001/onap/integration-java17:12.0.0 + +USER root + +RUN mkdir /home/uui + +ADD usecase-ui-llm-adaptation-*-linux64.tar.gz /home/uui/ + +WORKDIR /home/uui + +EXPOSE 8084 + +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 /home/uui/usecase-ui-llm-adaptation-linux64.jar"]
\ No newline at end of file |