mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Run your tests
This commit is contained in:
parent
74ab50beef
commit
6bfff33ca7
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ COPY mvnw pom.xml ./
|
||||||
RUN ./mvnw dependency:resolve
|
RUN ./mvnw dependency:resolve
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
|
|
||||||
|
FROM base as test
|
||||||
|
RUN ["./mvnw", "test"]
|
||||||
|
|
||||||
FROM base as development
|
FROM base as development
|
||||||
CMD ["./mvnw", "spring-boot:run", "-Dspring-boot.run.profiles=mysql", "-Dspring-boot.run.jvmArguments='-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000'"]
|
CMD ["./mvnw", "spring-boot:run", "-Dspring-boot.run.profiles=mysql", "-Dspring-boot.run.jvmArguments='-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000'"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue