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
bd8385761a
commit
b9fd4eb138
1 changed files with 1 additions and 1 deletions
|
@ -24,4 +24,4 @@ RUN ./mvnw clean package -DskipTests
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Run the Spring Boot application with the correct JAR version
|
# 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"]
|
||||||
|
|
Loading…
Reference in a new issue