Compare commits

..

No commits in common. 'a23ea6673fdd57c740a9d02608a083d7c2cf7179' and '3b62e5016cca9ac6008871a16bf23fa1903ca92a' have entirely different histories.

@ -1,15 +0,0 @@
FROM maven:3.6.3-openjdk-17-slim as BUILDER
ARG VERSION=0.0.1-SNAPSHOT
WORKDIR /build/
COPY pom.xml /build/
COPY src /build/src
RUN mvn clean install
COPY target/mailsender-${VERSION}.jar target/application.jar
FROM java:21.0.2-jre-slim
WORKDIR /app/
COPY --from=BUILDER /build/target/application.jar /app/
CMD java -jar /app/application.jar

@ -61,7 +61,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!-- <version>2.6.4</version>-->
<version>2.6.4</version>
<configuration>
<excludes>
<exclude>

Loading…
Cancel
Save