Update Dockerfile

This commit is contained in:
Mohit Kumar 2024-09-26 19:15:16 -04:00 committed by GitHub
parent 17ffb6542d
commit 276efd0fed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,5 +23,5 @@ RUN ./mvnw clean package -DskipTests
# Expose the port on which the application will run # Expose the port on which the application will run
EXPOSE 8080 EXPOSE 8080
# Run the Spring Boot application # Run the Spring Boot application with the correct JAR version
ENTRYPOINT ["java", "-jar", "target/spring-petclinic-2.6.0-SNAPSHOT.jar"] ENTRYPOINT ["java", "-jar", "target/spring-petclinic-3.3.0-SNAPSHOT.jar"]