summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/docker/docker-files/Dockerfile4
-rw-r--r--src/main/docker/docker-files/startup.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/docker/docker-files/Dockerfile b/src/main/docker/docker-files/Dockerfile
index 08b55a3..169f9c0 100644
--- a/src/main/docker/docker-files/Dockerfile
+++ b/src/main/docker/docker-files/Dockerfile
@@ -4,8 +4,8 @@ WORKDIR /home/onap
USER onap
-COPY --chown=onap:onap simulator-0.0.1-SNAPSHOT.jar /home/onap/simulator-0.0.1-SNAPSHOT.jar
-COPY --chown=onap:onap startup.sh /home/onap/startup.sh
+COPY --chown=onap:onap ./simulator-0.0.1*jar /home/onap/simulator-0.0.1.jar
+COPY --chown=onap:onap ./startup.sh /home/onap/startup.sh
RUN chmod 700 /home/onap/startup.sh
diff --git a/src/main/docker/docker-files/startup.sh b/src/main/docker/docker-files/startup.sh
index 63b6f03..c287471 100644
--- a/src/main/docker/docker-files/startup.sh
+++ b/src/main/docker/docker-files/startup.sh
@@ -18,4 +18,4 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
-java -jar /home/onap/simulator-0.0.1-SNAPSHOT.jar --spring.config.location=/home/onap/app/application.properties
+java -jar /home/onap/simulator-0.0.1.jar --spring.config.location=/home/onap/app/application.properties