Dockerfile changes

This commit is contained in:
Mansi Boriya 2023-02-19 19:11:17 -08:00
parent 66e3ab64d0
commit bd7ee57ce6

View file

@ -9,6 +9,5 @@ COPY . /app
# Make port 8080 available to the world outside this container # Make port 8080 available to the world outside this container
EXPOSE 8080 EXPOSE 8080
RUN ./mvnw package ENTRYPOINT [ "./mvnw" ]
CMD [ "test" ]
CMD ["java", "-jar", "target/spring-petclinic-3.0.0-SNAPSHOT.jar"]