skip to Main Content

unable to start container process: exec: "mvnw": executable file not found in $PATH: unknown – Docker

This is my source code https://github.com/donhuvy/springboot-docker . I follow guide at tutorial video https://www.youtube.com/watch?v=7BCtc9cAS6o . File Dockerfile # syntax=docker/dockerfile:1 #Which "official Java image" ? FROM openjdk:oraclelinux8 #working directory WORKDIR /app #copy from your Host(PC, laptop) to container COPY .mvn/ .mvn…

VIEW QUESTION

How to access localhost from within docker image

I have B application which calls A application. Here are the source code for them: A application : @SpringBootApplication @RestController @Slf4j public class AApplication { public static void main(String[] args) { SpringApplication.run(AApplication.class, args); } @GetMapping("call_a") public double callA() { log.info("calling…

VIEW QUESTION
Back To Top
Search