From: Kotagiri, Ramprasad (rp5662) Date: Mon, 8 Apr 2019 18:18:19 +0000 (-0400) Subject: Fix issue with copying war file in Docker image X-Git-Tag: 1.1.0~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=eef2f88f3e59bc4e107c37ca13c3a339b2d272b7;p=ccsdk%2Fdashboard.git Fix issue with copying war file in Docker image Update Dockerfile to change instruction from ADD to COPY Issue-ID: CCSDK-1011 Change-Id: Ieda015fa26e47193fa4e6e41752eb84004ebd7f0 Signed-off-by: Kotagiri, Ramprasad (rp5662) --- diff --git a/ccsdk-app-os/Dockerfile b/ccsdk-app-os/Dockerfile index 3a800c8..dc49492 100644 --- a/ccsdk-app-os/Dockerfile +++ b/ccsdk-app-os/Dockerfile @@ -27,7 +27,7 @@ RUN apt-get -y install postgresql --allow-unauthenticated COPY docker-dashboard-installation.sh /tmp/docker-dashboard-installation.sh COPY create_table.sql /tmp/create_table.sql ARG WAR_FILE -ADD target/${WAR_FILE} /home/deployments/ccsdk-app.war +COPY target/${WAR_FILE} /home/deployments/ccsdk-app.war # Run docker-dashboard-installation.sh RUN dos2unix /tmp/create_table.sql