Open Nurlan199206 opened 8 months ago
=> ERROR [ms-one 3/4] COPY /target/*.jar main.jar 0.0s ------ > [ms-one 3/4] COPY /target/*.jar main.jar: ------ failed to solve: lstat /var/lib/docker/tmp/buildkit-mount4001374972/target: no such file or directory
Before running the docker compose you are require to do >> mvn clean package , in order to generate a jar file. once you have the jar file created the docker compose will work as expected.