diff --git a/Dockerfile b/Dockerfile index 92054dcbec88831488ed900a7c614480101ec014..bedbfddd1358ea3830527dd4474747fe4e2b85bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN mkdir -p /app && mkdir -p /app/config # 进入工作目录 WORKDIR /app # 复制jar -COPY target/app.jar . +COPY .mvn//maven-wrapper.jar . # EXPOSE 映射端口 EXPOSE 8080 # CMD 运行以下命令(如果yaml文件定义了command会被覆盖)