From 29d8798a0f0e3a14dc46ec22aa40d115483692e6 Mon Sep 17 00:00:00 2001 From: Prudence Au Date: Fri, 10 Aug 2018 14:35:16 -0400 Subject: Copying files to docker image Change-Id: I092a276060179d5e74ea4a99b8d60867dee378da Issue-ID: LOG-519 Signed-off-by: Prudence Au --- pom.xml | 4 ++-- src/main/docker/Dockerfile | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index a8b4f1d..9f266d6 100644 --- a/pom.xml +++ b/pom.xml @@ -257,7 +257,7 @@ ${project.basedir}/target/docker-stage/opt/app/config - ../config + config *.properties builders/*.properties @@ -297,7 +297,7 @@ ${project.basedir}/target/docker-stage/opt/app/lib - ../target/ + target/ *.jar diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index a764fbf..0cdd1cf 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -8,12 +8,12 @@ RUN mkdir -p $MICROSERVICE_HOME/config/ RUN mkdir -p $MICROSERVICE_HOME/lib/ RUN mkdir -p $MICROSERVICE_HOME/bin/ -#ADD ./target/pomba-context-aggregator.jar $MICROSERVICE_HOME/lib/ -#COPY ./config/ $MICROSERVICE_HOME/config/ -#ADD ./target/startService.sh $MICROSERVICE_HOME/bin/ +ADD target/pomba-context-aggregator.jar $MICROSERVICE_HOME/lib/ +COPY config/ $MICROSERVICE_HOME/config/ +ADD target/startService.sh $MICROSERVICE_HOME/bin/ -#RUN chmod 755 $MICROSERVICE_HOME/config/* -#RUN chmod 755 $MICROSERVICE_HOME/lib/* -#RUN chmod 755 $MICROSERVICE_HOME/bin/* +RUN chmod 755 $MICROSERVICE_HOME/config/* +RUN chmod 755 $MICROSERVICE_HOME/lib/* +RUN chmod 755 $MICROSERVICE_HOME/bin/* CMD ["/opt/app/bin/startServer.sh"] -- cgit 1.2.3-korg