diff --git a/Dockerfile b/Dockerfile index c46c2c4..90ee18d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY ./ /tmp/code RUN cd /tmp/code && mvn clean package -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -FROM java:11 +FROM openjdk:11-jdk-oracle COPY --from=maven /tmp/code/target/*.jar /webdav-teambition.jar EXPOSE 8080 ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/webdav-teambition.jar"]