Create a maven project structure. One mock webservice should be included. Both Json and XML payload accepted. Configuration of this webservice (response body, response headers, http status code) should be fully configured in a configuration file. Invoication details (headers, payload) should be logged. Closes #T124
7 lines
163 B
Docker
7 lines
163 B
Docker
FROM openjdk:14-alpine as builder
|
|
RUN apk add --no-cache maven
|
|
WORKDIR /usr/app/klaus
|
|
COPY ./ ./
|
|
RUN mvn --version
|
|
RUN mvn clean install -B
|
|
CMD mvn spring-boot:run |