Carlos Cavero 6076d4da3b BAEL-3756-YAML-for-Spring-DevOps (#9368)
* Add modifications to include the configuration for YAML and DevOps

* Clean the Dockerfile

* Modify the name of testing environment and include YAML tests
2020-05-28 15:02:11 -07:00

10 lines
459 B
Docker

FROM maven:3.6.0-jdk-11
WORKDIR /code/spring-boot-modules/spring-boot-properties/
COPY ./spring-boot-modules/spring-boot-properties/pom.xml .
COPY ./spring-boot-modules/spring-boot-properties/src ./src
COPY ./parent-boot-2/pom.xml /code/parent-boot-2/pom.xml
COPY ./pom.xml /code/pom.xml
COPY ./custom-pmd-0.0.1.jar /code/custom-pmd-0.0.1.jar
COPY ./baeldung-pmd-rules.xml /code/baeldung-pmd-rules.xml
RUN mvn dependency:resolve
CMD ["mvn", "spring-boot:run"]