mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
entrypoint to cmd
This commit is contained in:
parent
96e172ee56
commit
dc2414a2f9
1 changed files with 1 additions and 2 deletions
|
@ -3,5 +3,4 @@ VOLUME [ ".m2" ]
|
||||||
VOLUME [ "/app" ]
|
VOLUME [ "/app" ]
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT [ "java" ]
|
CMD [ "java", "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]
|
||||||
CMD [ "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]
|
|
||||||
|
|
Loading…
Reference in a new issue