diff --git a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.jvm b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.jvm index 0f74d9261..ebad25d29 100644 --- a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.jvm +++ b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.jvm @@ -3,7 +3,7 @@ # # Before building the container image run: # -# nx build <%= projectName %> +# nx build <%= projectName %> --task="build" # # Then, build the image with: # diff --git a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.legacy-jar b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.legacy-jar index dbf328716..0b127bc7c 100644 --- a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.legacy-jar +++ b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.legacy-jar @@ -3,7 +3,7 @@ # # Before building the container image run: # -# nx build quarkus-maven-app-3971513 --args="-Dquarkus.package.type=legacy-jar" +# nx build <%= projectName %> --task="build -Dquarkus.package.type=legacy-jar" # # Then, build the image with: # diff --git a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native index f8ab26c0a..378429929 100644 --- a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native +++ b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native @@ -3,7 +3,7 @@ # # Before building the container image run: # -# nx build <%= projectName %> --args="-Dquarkus.package.type=native" +# nx build <%= projectName %> --task="build -Dquarkus.package.type=native" # # Then, build the image with: # diff --git a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native-micro b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native-micro index 6260355f3..74e422503 100644 --- a/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native-micro +++ b/packages/internal/generators-files/quarkus/application/gradle/docker/Dockerfile.native-micro @@ -6,7 +6,7 @@ # # Before building the container image run: # -# nx build <%= projectName %> --args="-Dquarkus.package.type=native" +# nx build <%= projectName %> --task="build -Dquarkus.package.type=native" # # Then, build the image with: #