diff --git a/Dockerfile b/Dockerfile index 7ac4058..cd67c79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone VOLUME ["/home/logs/cloud-modules-system","/home/uploadPath"] #拷贝执行jar包文件 -COPY /home/deploy/system/target/cloud-modules-system.jar /home/app.jar +COPY ./target/cloud-modules-system.jar /home/app.jar #构建启动命令 ENTRYPOINT ["java","-jar"]