Docker builds springboot image

  docker, question

clipboard.png

What does this app.jar mean? After reading the next book, I said it was the target file in the mirror image, so where should I find this file?

The <dest> is an absolute path, or a path relative to WORKDIR, into which the source will be copied inside the destination container.

Obviously, theapp.jarIs a relative path, in other words,app.jarIt should be in the working directory.