summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorwasala <przemyslaw.wasala@nokia.com>2018-03-28 14:20:58 +0200
committerwasala <przemyslaw.wasala@nokia.com>2018-03-28 14:20:58 +0200
commitd8e4e88b6080dfd701ea7aa64d033c38899e77c6 (patch)
tree87e23a50375086b4c3737084f9e9d6f6d17229a2 /Dockerfile
parent961af3e21239edd4714e7e586ed5db902bd85d53 (diff)
Added logs
Improve Dockerfile and build fat jar Change-Id: I8b4dd1a56350af310c70236d6843ae1c357ad95e Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 1c29b2b7..4f1a092c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,13 +3,13 @@ FROM azul/zulu-openjdk:8u152
MAINTAINER Przemysław Wąsala "przemyslaw.wasala@nokia.com"
-COPY target/pnf-registration-handler-1.0.0-SNAPSHOT.jar /opt/app/Prh/
+ADD /prh-app-server/target/prh-app-server.jar /opt/app/Prh/
WORKDIR /opt/app/Prh
ENV HOME /opt/app/Prh
ENV JAVA_HOME /usr
#RUN apt-get update && apt-get install -y curl vim
-EXPOSE 8080
+EXPOSE 8100
-CMD [ "java", "-jar", "pnf-registration-handler-1.0.0-SNAPSHOT.jar" ] \ No newline at end of file
+CMD [ "java", "-jar", "prh-app-server.jar" ] \ No newline at end of file