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
|
||||
EXPOSE 8080
|
||||
|
||||
RUN ./mvnw package
|
||||
|
||||
CMD ["java", "-jar", "target/spring-petclinic-3.0.0-SNAPSHOT.jar"]
|
||||
ENTRYPOINT [ "./mvnw" ]
|
||||
CMD [ "test" ]
|
Loading…
Reference in a new issue