summaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/Dockerfile
blob: 5524911fd159bb1ed409d5f7f2871b9d2a8c4023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM nexus3.onap.org:10001/onap/integration-java11:9.0.0
MAINTAINER "Lu Ji" <lu.ji3@zte.com.cn>

# Expose the Usecase-UI backend port 
EXPOSE 8082

#Configure Java SDK
ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib

#Add Usecase-UI server related resources to the docker image
RUN mkdir /home/uui
WORKDIR /home/uui
ADD usecase-ui-server-*-linux64.tar.gz /home/uui/
RUN addgroup -S uui && adduser -S uui -G uui && chown -R uui:uui /home/uui

USER uui
WORKDIR /home/uui
ENTRYPOINT /home/uui/bin/run.sh