From afccf225304905f0ace041179dffd5b4d592b2bf Mon Sep 17 00:00:00 2001 From: deftdawg Date: Tue, 14 Mar 2023 10:23:17 -0400 Subject: [PATCH] Correct Docker image to run jhlite-*.jar instead of jhlite-*-test.jar Fix for #5647 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1b1cdeca541..a50e9a1b9a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN \ chmod +x mvnw && \ ./mvnw package -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip && \ mv /code/jhipster-app/target/*.jar /code/ && \ - rm -Rf /code/jhipster-app/ /root/.m2 /root/.cache /tmp/* /var/tmp/* + rm -Rf /code/jhipster-app/ /root/.m2 /root/.cache /tmp/* /var/tmp/* /code/*-tests.jar ENV SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \ JAVA_OPTS="" \