Created
June 9, 2025 03:00
-
-
Save initcron/ee897fcd40528be2042095c994057658 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM schoolofdevops/maven:spring | |
WORKDIR /app | |
COPY . . | |
RUN mvn spring-javaformat:apply && \ | |
mvn package -DskipTests && \ | |
mv target/spring-petclinic-2.3.1.BUILD-SNAPSHOT.jar /run/petclinic.jar | |
EXPOSE 8080 | |
CMD java -jar /run/petclinic.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment