summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-widget-ms/src/main/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-widget-ms/src/main/docker/Dockerfile')
-rw-r--r--ecomp-portal-widget-ms/src/main/docker/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ecomp-portal-widget-ms/src/main/docker/Dockerfile b/ecomp-portal-widget-ms/src/main/docker/Dockerfile
new file mode 100644
index 00000000..7e25c222
--- /dev/null
+++ b/ecomp-portal-widget-ms/src/main/docker/Dockerfile
@@ -0,0 +1,6 @@
+FROM frolvlad/alpine-oraclejdk8:slim
+VOLUME /tmp
+ADD widget-ms.jar app.jar
+RUN sh -c 'touch /app.jar'
+ENV JAVA_OPTS=""
+ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]