Update Dockerfile

This commit is contained in:
Oleksandr Butenko 2021-06-13 21:00:26 +03:00 committed by GitHub
parent 315f7244a1
commit 359282e85e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]