Update Dockerfile

This commit is contained in:
Mohit Kumar 2024-09-26 21:56:16 -04:00 committed by GitHub
parent bd8385761a
commit b9fd4eb138
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", "--spring.profiles.active=mysql"]
ENTRYPOINT ["java", "-jar", "target/spring-petclinic-3.3.0-SNAPSHOT.jar", "--spring.profiles.active=postgres"]