Update dockerfile to not use hardcode snapshot dir 77/26277/1
authorVenkata Harish K Kajur <vk250x@att.com>
Wed, 13 Dec 2017 22:30:44 +0000 (17:30 -0500)
committerVenkata Harish K Kajur <vk250x@att.com>
Wed, 13 Dec 2017 22:30:56 +0000 (17:30 -0500)
Issue-ID: AAI-546
Change-Id: I2093692e63da1b26ef8f8b6de9fa866260f821d6
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
src/main/docker/Dockerfile

index b77cf1c..9a70ac3 100644 (file)
@@ -15,7 +15,7 @@ RUN export JAVA_HOME
 
 # Build up the deployment folder structure
 RUN mkdir -p $MICRO_HOME
-copy swm/package/nix/dist_files/appl/inventory-ui-service/1.1.0-SNAPSHOT/ $MICRO_HOME/
+copy swm/package/nix/dist_files/appl/inventory-ui-service/${project.version}/ $MICRO_HOME/
 RUN ls -la $BIN_HOME/
 RUN chmod 755 $BIN_HOME/*
 RUN ln -s /logs $MICRO_HOME/logs
@@ -24,4 +24,4 @@ EXPOSE 8000 8000
 
 CMD tail -F -n0 /etc/hosts
 CMD /opt/app/sparky/bin/start.sh
-#CMD top
\ No newline at end of file
+#CMD top