mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
added .m2 volume do Dockerfiles
This commit is contained in:
parent
b5f78e65ca
commit
94e6dbc7ff
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
FROM openjdk:8-jdk-alpine
|
||||
VOLUME [ ".m2" ]
|
||||
VOLUME [ "/app" ]
|
||||
WORKDIR /app
|
||||
COPY .mvn .mvn
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
FROM openjdk:8-jre-alpine
|
||||
VOLUME [ ".m2" ]
|
||||
VOLUME [ "/app" ]
|
||||
WORKDIR /app
|
||||
EXPOSE 8080
|
||||
|
|
Loading…
Reference in a new issue