diff --git a/Dockerfile b/Dockerfile index e6fb39f..a26f749 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-file","/home/uploadPath"] #拷贝执行jar包文件 -COPY ./cloud-file.jar /home/app.jar +COPY ./target/cloud-file.jar /home/app.jar #构建启动命令 ENTRYPOINT ["java","-jar"]