From 1c572e9c8df67b24cafa5ecfcf86a4a045d43be6 Mon Sep 17 00:00:00 2001 From: whz <303054730@qq.com> Date: Tue, 4 Jun 2024 08:28:50 +0800 Subject: [PATCH] fix --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ae08307..f44d4de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN gradle bootJar # 使用官方的Java运行时作为最终的运行环境 FROM openjdk:17-jdk-slim WORKDIR /app -COPY --from=build/libs /app/build/libs/*.jar app.jar +COPY --from=build /app/build/libs/*.jar app.jar # 设置应用运行的端口 EXPOSE 8080