mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Dockerfile
This commit is contained in:
parent
315f7244a1
commit
359282e85e
1 changed files with 0 additions and 5 deletions
|
@ -1,13 +1,8 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM openjdk:16-alpine3.13
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY .mvn/ .mvn
|
||||
COPY mvnw pom.xml ./
|
||||
RUN ./mvnw dependency:go-offline
|
||||
|
||||
COPY src ./src
|
||||
|
||||
CMD ["./mvnw", "spring-boot:run"]
|
||||
|
|
Loading…
Reference in a new issue