From f95e48cab9418402c90bb3b3263ec3180a8e6a2a Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Wed, 13 Dec 2017 17:30:44 -0500 Subject: Update dockerfile to not use hardcode snapshot dir Issue-ID: AAI-546 Change-Id: I2093692e63da1b26ef8f8b6de9fa866260f821d6 Signed-off-by: Venkata Harish K Kajur --- src/main/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index b77cf1c..9a70ac3 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -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 -- cgit 1.2.3-korg