We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b018c commit 8a10f68Copy full SHA for 8a10f68
Dockerfile
@@ -8,7 +8,8 @@ WORKDIR /app
8
COPY . /app
9
10
# Ejecuta Maven para compilar y empaquetar la aplicación
11
-RUN mvn clean install -DskipTests
+RUN mvn clean install -DskipTests \
12
+ && cp target/code-quality-testing-*.jar code-quality-testing.jar
13
14
# Imagen final con JDK 17 slim
15
FROM eclipse-temurin:17-jre
@@ -17,7 +18,7 @@ FROM eclipse-temurin:17-jre
17
18
WORKDIR /app
19
20
# Copia el artefacto generado desde la fase de construcción
-COPY --from=build /app/target/code-quality-testing.jar /app/code-quality-testing.jar
21
+COPY --from=build /app/code-quality-testing.jar /app/code-quality-testing.jar
22
23
# Expone el puerto en el que la aplicación corre
24
EXPOSE 8080
0 commit comments