diff --git a/Dockerfile b/Dockerfile index 0a65d3388..fb38e195e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,5 @@ COPY . /app # Make port 8080 available to the world outside this container EXPOSE 8080 -RUN ./mvnw package - -CMD ["java", "-jar", "target/spring-petclinic-3.0.0-SNAPSHOT.jar"] +ENTRYPOINT [ "./mvnw" ] +CMD [ "test" ] \ No newline at end of file