summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authormukesh.paliwal <mukesh.paliwal1@huawei.com>2021-02-22 15:02:10 +0530
committermukesh.paliwal <mukesh.paliwal1@huawei.com>2021-02-22 15:02:10 +0530
commit6abd395d3358feb0ba2a9e773cef30e34d9b42b8 (patch)
tree03f4b1b25cfab2fff1c21f383963957becebed0c /Dockerfile
parentf3fb496782163a2d3394a71e5af5c7083afcc9c0 (diff)
mso-cnf-adapter changes for docker
Issue-ID: SO-3518 Signed-off-by: mukesh.paliwal <mukesh.paliwal1@huawei.com> Change-Id: I048d595ad4a83cd845f07c904f830592cd1c57d5
Diffstat (limited to 'Dockerfile')
-rwxr-xr-xDockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 4cb7cf4..483c219 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
FROM adoptopenjdk/openjdk11:jre-11.0.8_10-alpine
-ARG JAR_FILE
+ARG JAR_FILE=*.jar
ARG http_proxy
ENV HTTP_PROXY=$http_proxy
ENV http_proxy=$HTTP_PROXY
@@ -13,8 +13,7 @@ RUN mkdir -p /app/certificates
RUN mkdir -p /app/logs
RUN mkdir -p /app/ca-certificates
RUN apk update && apk add apache2-utils
-COPY target/so-cnf-adapter-1.7.1-SNAPSHOT.jar /app/app.jar
-#COPY target/${JAR_FILE} /app/app.jar
+COPY target/${JAR_FILE} /app/app.jar
COPY configs/logging/logback-spring.xml /app
COPY scripts/start-app.sh /app