Answer the question
In order to leave comments, you need to log in
Continuous Deployment/Delivery process for Spring Boot application in Docker?
Hello, please share the process - how do you deploy your Spring Boot application to Docker?
The fact is that I had a deployment process, but after updating the docker version, it simply stopped working.
The absolute path to app.jar was written in the dockerfile. The scheme was simple. Jenkins makes an app.jar and tells docker to restart the container. The container picked up a new jar during the restart and everything worked great.
After updating the docker, in the ADD command - src - the path should not be absolute, so when I restart, my container does not pick up the new app.jar.
And the task was to change the deployment process. Can anyone share how to do it somehow similar?
How does it work for you?
Thank you!
Answer the question
In order to leave comments, you need to log in
Try Jenkins-joboy to assemble a ready-made self-sufficient build with already added jar.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question