-1

If i delete "/target" folder in project, it run error. Images:

[project directory][1]
[docker file][2]
[error][3]
  [1]: https://i.stack.imgur.com/ti3j4.png
  [2]: https://i.stack.imgur.com/tR11Y.png
  [3]: https://i.stack.imgur.com/j98Oj.png
Mikhail
  • 1
  • 2

1 Answers1

0

Normally, ./mvnw package is executed on your local environment, not on Docker container.

refs:

If you want to do on Docker container, use "RUN cp ${JAR_FILE} <dest>"(container to container), instead of "COPY" (local to container).