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 using AWS & Azure Cloud. please contact Coach AK at devops.coaching@gmail.com for more info.
No comments:
Post a Comment