From b285211b6cdbd4dd85904240a84e12a599d4ac6a Mon Sep 17 00:00:00 2001 From: wangtianqi <1350217033@qq.com> Date: Mon, 23 Jun 2025 23:17:37 +0800 Subject: [PATCH] fix: add execute permission to mvnw script in Docker build --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index eba094b..30740c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,9 @@ COPY pom.xml . COPY .mvn .mvn COPY mvnw . +# 给mvnw脚本添加执行权限 +RUN chmod +x ./mvnw + # 下载依赖(利用Docker缓存层) RUN ./mvnw dependency:go-offline -B