Merge branch 'main' of github.com:zxbu/webdav-teambition into main

This commit is contained in:
zhouxin5253@163.com 2021-01-17 11:11:56 +08:00
commit 265dfcea58
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ COPY ./ /tmp/code
RUN cd /tmp/code && mvn clean package -Dmaven.test.skip=true -Dmaven.javadoc.skip=true 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 COPY --from=maven /tmp/code/target/*.jar /webdav-teambition.jar
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/webdav-teambition.jar"] ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/webdav-teambition.jar"]