From 4011482f349705ff2894a4ac8a8b21120c1978dc Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Wed, 1 May 2024 19:07:30 +0800 Subject: [PATCH] Update Dockerfile Shifted the logic. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 \