mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
Update Dockerfile
This commit is contained in:
parent
17ffb6542d
commit
276efd0fed
1 changed files with 2 additions and 2 deletions
|
@ -23,5 +23,5 @@ RUN ./mvnw clean package -DskipTests
|
|||
# Expose the port on which the application will run
|
||||
EXPOSE 8080
|
||||
|
||||
# Run the Spring Boot application
|
||||
ENTRYPOINT ["java", "-jar", "target/spring-petclinic-2.6.0-SNAPSHOT.jar"]
|
||||
# Run the Spring Boot application with the correct JAR version
|
||||
ENTRYPOINT ["java", "-jar", "target/spring-petclinic-3.3.0-SNAPSHOT.jar"]
|
||||
|
|
Loading…
Reference in a new issue