added docker stage

This commit is contained in:
prasannakumar 2024-06-25 10:29:24 +05:30
parent 7c32ba877c
commit 61f520b8cb
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar .
# Expose the port your application runs on
EXPOSE 8000
EXPOSE 80
# Set the entry point to run the JAR file
ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"]

View file

@ -24,4 +24,4 @@ logging.level.org.springframework=INFO
# Maximum time static resources should be cached
spring.web.resources.cache.cachecontrol.max-age=12h
server.port=8000
server.port=80