diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ef6251a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM openjdk:8-jre +ADD target/TrainBook-1.0.0-SNAPSHOT.war +EXPOSE 8010 +ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]