Dockerfile use slimmer jre image

This commit is contained in:
Marcel Schwarz 2020-03-16 04:05:49 +01:00
parent 20559e6be8
commit af858fa2a7

View File

@ -3,7 +3,7 @@ WORKDIR /root
COPY . .
RUN ["gradle", "bootJar"]
FROM openjdk:13-jdk-alpine
FROM openjdk:11-jre-slim
WORKDIR /root
COPY --from=build /root/build/libs/*.jar app.jar
EXPOSE 80