you need to create application.properties under src/main/resources and add server.port in the file
server.port=8085
now build the springboot jar and build the image and run the container.
That issue should go away.
Hands on DevOps Coaching provided on AWS and Azure Cloud platforms. please contact devops.coaching@gmail.com for more info.
No comments:
Post a Comment