mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
packaging as part of dockerfil
This commit is contained in:
parent
f0ce4b9dd8
commit
77b3a71b31
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ FROM maven:3.6.3-jdk-8 AS build-env
|
|||
|
||||
COPY . ./
|
||||
|
||||
RUN mvn package
|
||||
|
||||
FROM openjdk:8-jre-alpine
|
||||
EXPOSE 8080
|
||||
|
||||
|
|
Loading…
Reference in a new issue