Update Dockerfile
This commit is contained in:
parent
f1688bd44a
commit
0a11c03dc3
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue