mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 10:55:48 +00:00
Dockerfile changes
This commit is contained in:
parent
66e3ab64d0
commit
bd7ee57ce6
1 changed files with 2 additions and 3 deletions
|
@ -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"]
|
|
Loading…
Reference in a new issue