diff --git a/Dockerfile b/Dockerfile index dae8f1c..f1b2c70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,13 +19,13 @@ WORKDIR /opt/app COPY .mvn/ .mvn COPY mvnw pom.xml ./ +# Modify the permissions of the mvnw script. +RUN chmod +x ./mvnw + RUN ./mvnw dependency:go-offline COPY src ./src -# Modify the permissions of the mvnw script. -RUN chmod +x ./mvnw - # RUN apk add --no-cache \ # package1 \ # package2 \