wilbur 3 лет назад
Родитель
Сommit
3992dc1bd7
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      lab-drone/Dockerfile

+ 2 - 2
lab-drone/Dockerfile

@@ -3,6 +3,6 @@
 # Author: Xiang
 # 基础镜像使用java
 FROM openjdk:8-jdk-alpine
-#ADD drone.jar app.jar
+ADD drone.jar app.jar
 EXPOSE 6003
-ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dsun.jnu.encoding=UTF-8","-Djava.security.egd=file:/dev/./urandom","-jar","/jardata/drone.jar"]
+ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","app.jar"]