summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorraag8290 <romain.gimbert@orange.com>2018-04-09 16:23:03 +0200
committerMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-04-10 15:00:16 +0200
commit6817f5b502e38c46a9eaa107e00fc912d521695a (patch)
tree0c5ef1a22c3e3c6e6210f974567e11995ad4b4e7 /Dockerfile
parent858cfa7e58f6378cf0a1eeb35a6b94eabd63b0c0 (diff)
Add files for build and docker
- version.properties - plugin docker - application-docker.properties - docker files - ready Change-Id: Ic6884b2df3d31518b70a5d2b8cd1a2fd94d73a15 Issue-ID: EXTAPI-49 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..5f43f6b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,4 @@
+FROM openjdk:8-jdk-alpine
+ADD target/nbi-rest-services-1.0.0-SNAPSHOT.jar app.jar
+ENV JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=docker -jar"
+ENTRYPOINT exec java $JAVA_OPTS /app.jar \ No newline at end of file