mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 10:25:48 +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
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM openjdk:16-alpine3.13
|
FROM openjdk:16-alpine3.13
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY .mvn/ .mvn
|
COPY .mvn/ .mvn
|
||||||
COPY mvnw pom.xml ./
|
COPY mvnw pom.xml ./
|
||||||
RUN ./mvnw dependency:go-offline
|
RUN ./mvnw dependency:go-offline
|
||||||
|
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
|
|
||||||
CMD ["./mvnw", "spring-boot:run"]
|
CMD ["./mvnw", "spring-boot:run"]
|
||||||
|
|
Loading…
Reference in a new issue