Closed henriquemotaesteves closed 2 years ago
Hey @henriquemotaesteves thanks for raising the PR. Did you fix it or was it something else as you immediately closed this issue?
Hi @rieckpil.
This PR fixed the problem in building the Docker image but it broke the execution of the application inside the container.
After thinking about the problem and a little research, I noticed that the Dockerfile was not guilty, but the Spring Boot that after version 2.5 started to generate two jar files in the output directory.
So, I decided to close this PR and open a new one (#110) with the correct fix to the problem.
If you try to build the Docker image of chapter 1, the following warning/error is displayed and the image is not built:
When using COPY with more than one source file, the destination must be a directory and end with a /