Update Dockerfile

This commit is contained in:
Mohit Kumar 2024-09-26 20:23:15 -04:00 committed by GitHub
parent 2b991e3cd8
commit 613568be8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,4 +24,4 @@ RUN ./mvnw clean package -DskipTests
EXPOSE 8080
# Run the Spring Boot application with the correct JAR version
ENTRYPOINT ["java", "-jar", "target/spring-petclinic-3.3.0-SNAPSHOT.jar"]
ENTRYPOINT ["java", "-jar", "target/spring-petclinic-3.3.0-SNAPSHOT.jar", "--spring.profiles.active=mysql"]