summaryrefslogtreecommitdiffstats
path: root/mod2/auth-service/Dockerfile
diff options
context:
space:
mode:
authorDhrumin Desai <dd303q@att.com>2020-09-28 09:02:07 -0400
committerVijay Venkatesh Kumar <vv770d@att.com>2020-09-29 16:05:08 +0000
commitf51b3e1a957ede6c263d0c3634f36c7fcfbb95ff (patch)
treeb1dcc46870d1c0fb2840d354dfe204a05bdf4460 /mod2/auth-service/Dockerfile
parentab2a4fbd5f0c08db1acd4710fb9a71a03cef6066 (diff)
updating docker repository to onap nexus
Change-Id: Id01bca24cad873742012f46fce8c02eba6e56d7d Issue-ID: DCAEGEN2-2317 Signed-off-by: Dhrumin Desai <dd303q@att.com> Signed-off-by: Mantena, Ravi (rx908f) <rx908f@att.com> Signed-off-by: Ravi Mantena <rx908f@att.com>
Diffstat (limited to 'mod2/auth-service/Dockerfile')
-rw-r--r--mod2/auth-service/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod2/auth-service/Dockerfile b/mod2/auth-service/Dockerfile
index c427bda..aa8707f 100644
--- a/mod2/auth-service/Dockerfile
+++ b/mod2/auth-service/Dockerfile
@@ -2,10 +2,13 @@ FROM onap/integration-java11:7.1.0
WORKDIR /usr/app
VOLUME /tmp
-ADD target/auth-service-1.0.0-SNAPSHOT.jar auth-service-1.0.0-SNAPSHOT.jar
+ARG PROJECT_BUILD_DIR_NAME
+ARG FINAL_JAR
EXPOSE 8082
+COPY ${PROJECT_BUILD_DIR_NAME}/${FINAL_JAR} .
+
ENTRYPOINT ["java", \
"-Djava.security.egd=file:/dev/./urandom", \
"-jar", "auth-service-1.0.0-SNAPSHOT.jar"] \ No newline at end of file