diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-12-13 17:30:44 -0500 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-12-13 17:30:56 -0500 |
commit | f95e48cab9418402c90bb3b3263ec3180a8e6a2a (patch) | |
tree | 5d5d41a808cf035b81741b2ab6d8c26cbafe45c4 | |
parent | 7b42006c51d4f014f72ae39170544a85d2f09fb5 (diff) |
Update dockerfile to not use hardcode snapshot dir
Issue-ID: AAI-546
Change-Id: I2093692e63da1b26ef8f8b6de9fa866260f821d6
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r-- | src/main/docker/Dockerfile | 4 |
1 files 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 |