summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml4
-rw-r--r--src/main/docker/Dockerfile12
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 @@
<outputDirectory>${project.basedir}/target/docker-stage/opt/app/config</outputDirectory>
<resources>
<resource>
- <directory>../config</directory>
+ <directory>config</directory>
<includes>
<include>*.properties</include>
<include>builders/*.properties</include>
@@ -297,7 +297,7 @@
<outputDirectory>${project.basedir}/target/docker-stage/opt/app/lib</outputDirectory>
<resources>
<resource>
- <directory>../target/</directory>
+ <directory>target/</directory>
<includes>
<include>*.jar</include>
</includes>
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"]